ONSUBCODE returns a FIXED BINARY(31,0) value that gives more information about an I/O error that occurred. This corresponds to the SUBCODE1 values documented for messages IBM0236I and IBM0265I. These values are defined in Messages and Codes.
>>-ONSUBCODE()-------------------------------------------------><