Symbolic Labels

BBj-Specific Information

For this topic's original documentation, see Error Trapping Rules.

Description

Symbolic labels have been added to BBj for the ERR=, END= and DOM= branches. These labels, which are only meaningful in program mode (not console mode), are listed below:

ERR=*PROCEED

If an error occurs, proceed with the next statement (on the current line or the next line).

ERR=*NEXT

If an error occurs, branch to the first statement on the next line.

ERR=*SAME

If an error occurs, branch to the beginning of the current line.

ERR=*RETRY

If an error occurs, retry the statement.

ERR=*BREAK

If an error occurs, emulate the BREAK verb.

ERR=*CONTINUE

If an error occurs, emulate the CONTINUE verb.

ERR=*ESCAPE

If an error occurs, emulate the ESCAPE verb.

ERR=*RETURN

If an error occurs, emulate the RETURN verb.

ERR=*STOP or ERR=*END

If an error occurs, emulate the STOP/END verb.

ERR=*EXIT

If an error occurs, emulate the EXIT verb.

ERR=*ENDIF

If an error occurs, branch to the end of the current IF..ENDIF block.