TFIQ gate, INQUIRE_TERMINAL_FACILITY function
The INQUIRE_TERMINAL_FACILITY function of the TFIQ gate is used to inquire about attributes of a named terminal facility.
Input Parameters
- TERMINAL_TOKEN
- Optional Parameter
- A token identifying a terminal.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- NO_TERMINAL
- The following values are returned when RESPONSE is INVALID:
- INVALID_TERMINAL_TYPE
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- CHANNEL_TOKEN
- Optional Parameter
- A token that identifies a channel that is to be associated with the terminal.
- DEVICE
- Optional Parameter
- The type of device represented by the terminal facility.
- FACILITY_NAME
- Optional Parameter
- The four-character name of the terminal facility.
- FREE_REQUIRED
- Optional Parameter
- A binary value that indicates that the terminal facility is ready to be freed.
- Values for the parameter are:
- NO
- YES
- INSPECT_DATA
- Optional Parameter
- A token indicating the Language Environment runtime options for the terminal facility.
- NATIONAL_LANGUAGE_IN_USE
- Optional Parameter
- The three-character code indicating the national language in use for the terminal facility.
- NATURE
- Optional Parameter
- Indicates the nature of the terminal facility.
- Values for the parameter are:
- MODEL
- SESSION
- SURROGATE
- TERMINAL
- NETNAME
- Optional Parameter
- The eight-character netname of the terminal facility.
- OPERATOR_ID
- Optional Parameter
- The operator identifier associated with the terminal facility.
- PSEUDO_CONV_COMMAREA
- Optional Parameter
- A block into which the communications area for a pseudo-conversational transaction is copied.
- STORAGE_FREEZE
- Optional Parameter
- Indicates whether or not storage normally freed during the processing of a transaction for the terminal facility is to be frozen. The frozen storage is not freed until the end of the transaction.
- Values for the parameter are:
- NO
- YES
- TERMINAL_TRAFFIC_READ
- Optional Parameter
- Indicates whether or not reading is supported.
- Values for the parameter are:
- NO
- YES
- TERMINAL_TRAFFIC_WRITE
- Optional Parameter
- Indicates whether or not writing is supported.
- Values for the parameter are:
- NO
- YES
- TERMINAL_USER_AREA
- Optional Parameter
- A block into which the terminal user area is copied.