ONSUBCODE2

ONSUBCODE2 returns a FIXED BIN(31) value that gives more information about an I/O error that has occurred.

Read syntax diagramSkip visual syntax diagram
>>-ONSUBCODE2()------------------------------------------------><

ONSUBCODE2 corresponds to the SUBCODE2 values documented for messages IBM0236I and IBM0265I. These SUBCODE2 values are defined in Messages and Codes.

A SUBCODE2 value consists of eight hexadecimal digits xxxxyyyy, where xxxx is Register 15 and yyyy is the reason code. The return and reason codes are documented in VSAM Macro Instructions.






Published: 23 December 2018