APCR gate, EXPORT_ALL function
The EXPORT_ALL function of the APCR gate is used to export the complete contents of a channel.
Input Parameters
- CHANNEL_TOKEN
- is a token referencing the channel.
- COMMAND
- is the type of API command that caused the channel to be shipped.
- Values for the parameter are:
- LINK
- RETURN
- SIBUS
- START_ISC
- START_MRO
- CORRELATION_ID
- Optional Parameter
- If CORRELATION_ID is specified, the channel is exported from an AOR by request streams. (RZTA SEND_REPLY is used.)
- TERMINAL_TOKEN
- Optional Parameter
- is a token referencing the terminal with which the channel is associated. If TERMINAL_TOKEN is specified, CICS terminal control is used to export the channel.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CHANNEL_ERROR
- TERMINAL_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TC_ABEND
- Optional Parameter
- is the terminal control abend code.
- TC_RESPONSE
- Optional Parameter
- is the terminal control response code.
- TC_SENSE
- Optional Parameter
- is the terminal sense code.