IBM0811S
ONCODE=oncode-value An I/O error occurred. Subcode1= sc1 Subcode2= sc2

Explanation

The data management routines detected an error during an input/output operation, which PL/I did not recognize. Subcode1 and Subcode2 provide VSAM diagnostic information; otherwise, they contain zeros. See the VSAM Macro Instruction manual for a description of the errors. Subcode1 indicates the I/O function involved:
  • 0 - I/O function not identified
  • 1 - GET
  • 2 - PUT
  • 3 - CHECK
  • 4 - POINT
  • 5 - ENDREQ
  • 6 - ERASE
  • 64 - OPEN
  • 130 - GENCB of ACB
  • 131 - GENCB of RPL
  • 138 - SHOWCB of ACB
  • 142 - TESTCB of ACB
  • 146 - SHOWCB of block lengths

Subcode2 consists of 8 hexadecimal digits (xxxxyyyy). The meaning of Subcode2 varies depending on the PL/I product used.

For MVS™ and VM, the value of subcode1 determines the type of VSAM return code information provided.
  • Subcode1 0: VSAM return code information is not provided.
  • Subcode1 1-63: VSAM Request Parameter List Feedback Word (RPLFDBWD) = xxxxyyyy.
  • Subcode1 64: Open register 15 = xxxx. Open reason code = yyyy.
  • Subcode1 128-192: Register 15 = xxxx. Register 0 = yyyy.
For Enterprise PL/I for z/OS, Subcode2 gives the following information:
  • Register 15 = xxxx. Reason code = yyyy.
Note that PL/I terminology translates to VSAM terms as follows:
  • PL/I UPDATE OPEN is equivalent to VSAM IN and OUT OPEN.
  • PL/I OUTPUT OPEN is equivalent to VSAM OUT OPEN, but only inserts or additions are allowed.
  • PL/I READ results in VSAM POINT to key, if specified, followed by VSAM GET.
  • PL/I WRITE or LOCATE results in VSAM PUT NUP. For PL/I LOCATE, the associated VSAM PUT NUP occurs on the next PL/I I/O request.
  • PL/I REWRITE results in implied read, if needed, followed by VSAM PUT UPD.
  • PL/I DELETE results in implied read, if needed, followed by VSAM ERASE.
  • PL/I WAIT EVENT I/O results in VSAM CHECK.

The ONCODE associated with this message is 1011.

System action

The ERROR condition is raised.

Programmer response

Use the VSAM diagnostic information to correct the cause of the error and resubmit the program.

Symbolic Feedback Code

IBM0PB