bdfp1m0jProgramming Concepts and Reference

Checking for Errors in Assembler Using Equates

Table 5 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 5. Equates For 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.