Command Reference Guide

Administration Commands
query_tn3270_association
Access to specic LUs is allowed. Clients are allowed to request access to a specic LU or LU pool;
clients do not have to use the LU or LU pool chosen by TN server.
NO
Access to specic 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 specic 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 dened 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 dened for the specied TN3270 client.
State Check
No specic 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 dened 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 specic
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