IBM0042S
ONCODE=oncode-value The CONVERSION condition was raised because a conversion error occurred when converting from PICTURE format on input.

Explanation

An edit-directed PICTURE format input item contained a character that did not match the picture specification. The ONCODEs associated with this message are:
  • 621 - GET STRING statement
  • 622 - GET FILE statement

System action

The ERROR condition is raised.

Programmer response

Either ensure all input data to the program is in the correct format before running the program or use the program to check the data. If necessary, use the ONSOURCE and ONCHAR built-in functions to identify the error and the ONSOURCE and ONCHAR pseudovariables to replace an erroneous character with a character valid for conversion.

Symbolic Feedback Code

IBM01A