ABEND

Top  Previous  Next

This command is used to request a task to be terminated abnormally.

ABEND   ABCODE(abcode)
[ CANCEL ]
[ NODUMP ]

Options

ABCODE(abcode)

specifies that main storage related to the task that is being terminated is to be dumped. The ABCODE is used as a transaction dumpcode to identify the dump. The name should have four characters and should not contain any leading or imbedded blanks. If ABCODE is not coded, the ABEND is identified by ???? but no dump is taken

CANCEL

specifies that exits established by HANDLE ABEND commands are to be ignored. An ABEND CANCEL command cancels all exits at any level in the task (and terminates the task abnormally)

NODUMP

allows you to request an abend without causing a dump to be taken