SHPR gate, ADD_PENDING_REQUEST function
The ADD_PENDING_REQUEST function of the SHPR gate is used to add a pending schedule request to the scheduler services queue associated with this UOW. The pending schedule requests are hardened to the scheduler services local request queue (LRQ) as part of syncpoint processing.
Input Parameters
- ACTIVITY_REQUEST_BLOCK
- Is a block containing the BAM domain activity request block.
- BALANCE
- Indicates whether this schedule request is eligible for workload routing.
- Values for the parameter are:
- NO
- YES
- TOKEN
- A string of length 4, used to identify the pending queue.
- TRANID
- A 4-character transaction ID.
- USERID
- An 8-character user ID.
- ACTIVITY_ID
- Optional Parameter
- A block containing the activity ID.
- ACTIVITY_NAME
- Optional Parameter
- The name of the activity.
- PNAME
- Optional Parameter
- The 36-character process name.
- PROCESS_ID
- Optional Parameter
- is a block containing the process ID.
- PTYPE
- Optional Parameter
- The 8-character process type.
- TIME
- Optional Parameter
- A string of length 8, used when a request is delayed for a period time.
Output Parameters
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.