![](/images/new-backgrounds/1308428/3084281109x1.webp)
Administration Commands
query_tn3270_association
Access to specific LUs is allowed. Clients are allowed to request access to a specific LU or LU pool; clients do not have to use the LU or LU pool chosen by TN server.
NO
Access to specific LUs is not allowed.
2.171.4 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
Possible values are:
INVALID_CLIENT_ADDRESS
The list_options parameter was set to LIST_INCLUSIVE, but the client_address parameter did not match the address of any defined TN3270 client.
INVALID_PORT_NUMBER
The list_options parameter was set to LIST_INCLUSIVE, but the port_number parameter did not match a port number defined for the specified TN3270 client.
State Check
No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
2.172 query_tn3270_association
The query_tn3270_association command returns information about associations between display LUs and printer LUs, as defined on define_tn3270_association. Associations are queried by display LU name and are returned in order of display LU name. This command can be used to obtain information about a specific association or about multiple associations, depending on the options used.
2.172.1 Supplied Parameters
Parameter | Type | Length | Default |
[query_tn3270_association] |
|
| |
num_entries | decimal |
| 1 |
list_options | constant |
| LIST_INCLUSIVE |
display_lu_name | character | 8 | (null string) |
Supplied parameters are:
555