The MLSTRANSLATE statement can be used as an arithmetic function that returns an integer result indicating whether or not the message was successfully found in both the input and output languages. The possible values for this result are as follows:
|
Value |
Meaning |
|
1 |
The message is not in the requested language. It is in MYSELF.LANGUAGE or the system default language. |
|
0 |
The message was found and returned as requested. |
|
–1 |
The message was not found in the <input language>. |
|
–2 |
The message was not found in the <output language>. |
|
–3 |
The requested <output language> does not exist for this output message array. |
|
–4 |
The array row referenced by the <result pointer> is too small. |
|
–5 |
The message was not found in any language tried. |
|
–6 |
The version of the output message array is incompatible with the version of the operating system. |
|
–7 |
The output message array is corrupted: cannot obtain output message number <num>. |
|
–8 |
A fault occurred while obtaining the output message. |
|
–9 |
The length passed with a parameter is too long. |
|
–11 |
The <result pointer> has a type that is not valid for the MLSTRANSLATE statement. |
|
–12 |
The output message array created by this program cannot be used for message translation. |
|
–13 |
The ccsversion of the input or output language messages is invalid. |
|
–14 |
The CENTRALSUPPORT library is not available. |

