APCR gate, ESTIMATE_ALL function
The ESTIMATE_ALL function of the APCR gate is used to estimate the size of terminal input/output area (TIOA) needed to ship a channel.
Input Parameters
- CHANNEL_NAME
- is the name of the channel.
- 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
- START_ISC
- START_MRO
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CHANNEL_ERROR
- BYTES_NEEDED
- is the total size, in bytes, of the exported channel, including channel and container headers and the overall length of the data in the containers. This total includes all bytes for all containers.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- CHANNEL_TOKEN_OUT
- Optional Parameter
- contains, if CHANNEL_NAME was specified on input, a token referencing the channel.