IBM0213S
ONCODE=oncode-value The UNDEFINEDFILE condition was raised because an invalid KEYLOC value was detected (FILE= or ONFILE=file-name).

Explanation

One of the following conditions was detected:

  1. The offset of the key within a record was invalid. The sum of the KEYLOC value and the key length was greater than the record length.
  2. For blocked ISAM files, either KEYLOC was not specified or KEYLOC(0) was specified. Both are invalid.

System action

The ERROR condition is raised.

Programmer response

The two numbered responses below apply to the numbered explanations above.

  1. Check the value of the argument to the KEYLOC option. If the argument is a variable, check that it is FIXED BINARY (31,0) STATIC and that it has been correctly initialized.
  2. Specify a KEYLOC value that is greater than zero.

Symbolic Feedback Code

IBM06L