IBM0021S
ONCODE=601. The CONVERSION condition was raised because of unknown source attributes on input.

Explanation

The CONVERSION condition was raised within a GET LIST or GET DATA statement with the FILE option. The attributes of the source data could not be determined.

Consider the following example, where the input stream contained 'PIG'C, 'DOG'.
DCL (A,B) CHAR(14);
GET LIST(A,B);

The condition will be raised when the first item is encountered. The value for ONSOURCE would be: "'PIG'C", and value of ONCHAR would be: "C". The ONCODE associated with this message is 601.

System action

The ERROR condition is raised.

Programmer response

Include a suitable ON-unit in the program to monitor errors in the input data revealed by the CONVERSION condition. Use the ONSOURCE and ONCHAR built-in functions to identify the error and the ONSOURCE and ONCHAR pseudovariables to assign a valid value so the program can continue processing. Also, check the input data for correctness before rerunning the program.

Symbolic Feedback Code

IBM00L