18. ERROR-SUBCODE (halfword binary)

The ERROR-SUBCODE provides better diagnostics to pinpoint a reason for failure. If a task has the Abend Switch set on, a message with the error code and any related subcode is written to the job’s JES log. The TBDRIVER (DK1TDRV) utility and the TBDR CICS transaction both display the error subcode. The ERROR-SUBCODE is dependent on the ERROR-CODE.