APTC gate, OPEN function
The OPEN function of the APTC gate is used to allocate a session to the specified AOR.
Input Parameters
- SYSID
- is the name of the sysid
- TRANID
- is the transaction name to be attached in the AOR.
- NETNAME
- Optional Parameter
- specifies the netname or applid of the AOR.
- QUEUE
- Optional Parameter
- is the queue option specified by the routing program.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- OPEN_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TOKEN
- ERROR_CODE
- Optional Parameter
- The code passed back from the allocate procedure.