BAPR gate, ADD_PROCESS function
The ADD_PROCESS function of the BAPR gate is used to define a new process in reponse to an EXEC CICS(R) DEFINE PROCESS call.
Input Parameters
- PROCESS_NAME
- the 36-character process name.
- PROCESSTYPE
- the 8-character process type.
- TRANID
- the 4-character transaction id.
- CHECK_UNIQUE
- Optional Parameter
- a Boolean value indicating whether a check should be made to ensure that the process name is unique within the scope of the process-type.
- Values for the parameter are:
- NO
- YES
- 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_PROCESS_NAME
- FILE_NOT_AUTH
- PROCESS_ALREADY_ACQUIRED
- PROCESSTYPE_NOT_ENABLED
- PROCESSTYPE_NOT_FOUND
- WRITE_FAILED
- PROCESS_TOKEN
- a token representing this process internally.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.