Advertentie
Advertentie
Chapter 32. Application programming commands - reference
This chapter shows the syntax for each EXEC CICS command, in alphabetic order, and describes the options and exception conditions applicable to each command.
For a general introduction to EXEC CICS commands and an explanation of the
syntax notation used, refer to Chapter 31, “Programming reference,” on page 305.
ABEND
Terminate a task abnormally.
ABEND
ABEND
ABCODE(
name
) CANCEL NODUMP
Description
ABEND terminates a task abnormally.
The main storage associated with the terminated task is released; optionally, a transaction dump of this storage can be obtained.
Refer to Chapter 9, “Abnormal termination recovery,” on page 109 for more
information about this command.
Options
ABCODE(
name
)
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 up to four characters and should not contain any leading or imbedded blanks. If ABCODE is not coded, the dump is identified by ????.
Do not start the name with the letter A, because this is reserved for CICS itself.
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.
Examples
The following example shows how to terminate a task abnormally:
EXEC CICS ABEND ABCODE(’BCDE’)
© Copyright IBM Corp. 1998, 2004
323
Downloaden
Advertentie