IBM0212S
ONCODE=oncode-value The UNDEFINEDFILE condition was raised because the KEYLENGTH was negative or greater than 255 (FILE= or ONFILE= file-name).

Explanation

The KEYLENGTH option of the ENVIRONMENT attribute for this file had an invalid key length greater than 255 or less than zero.

System action

The ERROR condition is raised.

Programmer response

Check the argument of the KEYLENGTH option to ensure it is either a constant or a variable with the attributes FIXED BINARY (31,0) STATIC and value between zero and 255 when the file is opened. If the argument is a variable, ensure it is correctly initialized.

Symbolic Feedback Code

IBM06K