IBM0810S
ONCODE=oncode-value A built-in function or pseudovariable referenced an unopened file or referenced a file with a contradicting attribute.

Explanation

An I/O built-in function or pseudovariable referenced a file that was not opened or referenced a file with an attribute that contradicted the function or pseudovariable. The functions/pseudovariables are :
  • PAGENO - file not open or does not have the PRINT attribute
  • SAMEKEY - file does not have the RECORD attribute
  • ENDFILE - file not open
  • FILEREAD - file not open or is not a TYPE(U) file
  • FILEWRITE - file not open or is not a TYPE(U) file
  • FILESEEK - file not open or is not a TYPE(U) file
  • FILETELL - file not open or is not a TYPE(U) file
  • FILEDDTEST - file not open or:
    • AMTHD - file not a native file
    • BKWD - file not a record file
    • DESCENDKEY - file not a record file
    • GENKEY - file not a record file
    • PRINT - file not a stream output file
  • FILEDDINT - file not open or:
    • BUFSIZE - file not a native file
    • DELAY - file not a DDM, BTRIEVE or ISAM file
    • RETRY - file not a DDM, BTRIEVE or ISAM file
    • FILESIZE - file not a native file
    • KEYLEN - file not an indexed or a relative keyed file
    • KEYLOC - file not an indexed or a relative keyed file
  • FILEDDWORD - file not open or:
    • TYPEF - file not a native file

The ONCODE associated with this message is 1010.

System action

The ERROR condition is raised.

Programmer response

Correct your program to use the built-in function or pseudovariable correctly.

Symbolic Feedback Code

IBM0PA