BAAC gate, CHECK_ACTIVITY function
The CHECK_ACTIVITY function of the BAAC gate is used to establish how the named child activity or acquired activity completed.
Input Parameters
- ACTIVITY_NAME
- Optional Parameter
- the 16-character activity name.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- ACTIVITY_NOT_FOUND
- NO_CURRENT_ACTIVITY
- READ_FAILURE
- RECORD_BUSY
- ABEND_CODE
- the 4-character abend code.
- ABEND_PROG
- the 8-character name of the program which abended.
- ACTMODE
- the active mode of the process.
- Values for the parameter are:
- ACTIVE
- CANCELLING
- COMPLETE
- DORMANT
- INITIAL
- COMPLETION_STATUS
- is the completion status of the process.
- Values for the parameter are:
- ABENDED
- FORCEDCOMPLETE
- INCOMPLETE
- NORMAL
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- SUSPENDED
- indicates whether the process is suspended.
- Values for the parameter are:
- NO
- YES