Previous Topic: #ABEND ParametersNext Topic: #ABEND Status Codes


#ABEND Example

Example: Terminating the issuing task

The following example of the #ABEND statement terminates the issuing task abnormally and specifies the register that points to a field in the application program containing the abend code. This statement requests that the system ignore abend routines and to write a task dump to the DC/UCF log file. Control returns to the system after completion of the #ABEND statement.

#ABEND ABCODE=(R12),STAE=IGNORE,DUMP=YES