Checking for errors in assembler language using equates

Table 1 lists a set of equates for some of the common errors that you can experience. You can use these equates to test the value of SW00RTN.

Table 1. Equates for z/TPFDF macro error checking
Equate Hexadecimal Value Condition
#TPFDBEX X'AB' Any serious error indicated in SW00RTN except indexing errors.
#TPFDBER X'BB' Any serious error indicated in SW00RTN.
#TPFDBNR X'44' Any error indicated in SW00RTN requiring remedial action.
#TPFDBNI X'44' Any error indicated in SW00RTN requiring remedial action.
#TPFDBOK X'00' No errors indicated in SW00RTN.