BAAC gate, ADD_ACTIVITY function
The ADD_ACTIVITY function of the BAAC gate is used to define a new activity in response to an EXEC CICS DEFINE ACTIVITY call.
Input Parameters
- ACTIVITY_NAME
- the 16-character activity name.
- COMPLETION_EVENT
- the 16-character completion event.
- TRANID
- the 4-character transaction id.
- ACTIVITYID
- Optional Parameter
- the buffer containing the activity identifier.
- PROGRAM
- Optional Parameter
- the 8-character program name associated with the root activity.
- USERID
- Optional Parameter
- the 8-character userid.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- DUPLICATE_ACTIVITY_NAME
- INVALID_NAME
- NO_CURRENT_ACTIVITY
- UNKNOWN_TRANSACTION_ID
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.