IBM0059S
ONCODE=639 The CONVERSION condition was raised because a mixed character string contained an invalid character.

Explanation

This condition was raised by the GRAPHIC built-in function. One of the following rules for mixed constants was broken:
  • SBCS portions of the constant cannot contain a shift-in.
  • Neither byte of a DBCS character can contain a shift code.

Note: In mixed character strings, a shift-in following a DBCS character or following a shift-out causes a transition to single-byte mode. It is impossible for the first byte of a DBCS character in a mixed character string to contain a shift-in.

System action

The ERROR condition is raised.

Programmer response

Ensure mixed character strings contain balanced, unnested shift-out/shift-in pairs. The MPSTR built-in function can be used to check shift-out/shift-in pairs. ONSOURCE and ONCHAR pseudovariables cannot be used to assign a new value to the string. ERROR is raised if retry is attempted.

Symbolic Feedback Code

IBM01R