PGHM gate, INQ_ABEND function
The INQ_ABEND function of the PGHM gate is invoked when an abend has occurred, and returns to the caller details of the handle abend for user EXEC CICS HANDLE ABEND commands.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOOP
- The following values are returned when RESPONSE is INVALID:
- INVALID_FUNCTION
- MISSING_PARAMETER
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- STATUS
- Identifies the status of the condition.
- Values for the parameter are:
- HANDLED
- SYSTEM_DEFAULT
- CURRENT_EXECUTION_KEY
- Optional Parameter
- An 8-bit value that indicates the current program execution key (at the time the EXEC CICS HANDLE CONDITION command was issued).
- GOTOL
- Optional Parameter
- The token that identifies the condition label in the program to be branched to if the condition is ignored.
- HANDLE_COUNT
- Optional Parameter
- The number of times that this abend code has been handled.
- HANDLE_TYPE
- Optional Parameter
- Indicates whether control should be passed to a label or a program when the abend occurs.
- Values for the parameter are:
- LBL
- PGM
- LABEL
- Optional Parameter
- The token that identifies the condition label in the program to be branched to if the condition occurs.
- LANGUAGE
- Optional Parameter
- The program language.
- Values for the parameter are:
- ASSEMBLER
- COBOL
- CPP
- C370
- PLI
- PROGRAM
- Optional Parameter
- The name of the program to which control was passed when the abend occurred.
- PROGRAM_MASK
- Optional Parameter
- Identifies the program mask at the time the HANDLE CONDITION command was executed.
- USERS_RSA_POINTER
- Optional Parameter
- The address of the user program Register Save Area into which the program's registers are saved at each EXEC CICS command execution.