TXTCCSTA is the text CCSID conversion status indicator.
Return codes help you determine what happened when the system converted
your message text to the CCSID-to-convert-to parameter. Positive return code
numbers indicate that your conversion was successful. A successful return
code does not always indicate that a conversion occurred. Negative return
code numbers indicate that a conversion error occurred.
The following list shows the available return codes:
- 0
- No conversion was necessary. The CCSID of the text matched the CCSID that
you wanted the text converted to.
- 1
- No conversion occurred. Either the text was 65535 or the CCSID that you
wanted the text converted to was 65535.
- 2
- No conversion occurred. You did not ask for any text to be returned.
- 3
- The text was converted to the CCSID specified. The conversion operation
used the linguistic conversion tables.
- 4
- A conversion error occurred when the conversion operation used the linguistic
conversion tables. The conversion operation then used a default conversion
table. The default conversion completed without error.
- -1
- An error occurred on both the linguistic and default conversions. The
text was not converted.