MDTACCSTA is the replacement data CCSID conversion status indicator.
Return codes help you determine what happened when the system converted your replacement data 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. These return codes are similar to the TXTCCSTA return codes. The return codes apply to the conversion that takes place on any *CCHAR replacement data being converted from the
replacement data CCSID to the CCSID-to-convert-to value.
The following list shows the available return codes:
- 0
- No conversion was necessary. The CCSID of the replacement data matched the CCSID that you wanted the text converted to.
- 1
- No conversion occurred. Either the replacement data was 65535 or the CCSID that you wanted the replacement data converted to was 65535.
- 2
- No conversion occurred. Either you did not ask for any replacement data to be returned or no *CCHAR replacement data fields were defined for the message description being retrieved.
- 3
- The replacement data 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 replacement data was not converted.