![](/images/new-backgrounds/1308428/308428431x1.webp)
Administration Commands
define_tn3270_defaults
display_lu_name | character | 8 |
|
description | character | 31 | (null string) |
printer_lu_name | character | 8 |
|
Supplied parameters are:
display_lu_name
Specifies the name of the display LU to be associated with the printer specified by the printer_lu_name parameter. This name consists of
The specified display LU should be a display LU defined on the local node.
description
An optional text string describing the association. SNAplus2 uses this string is for information only. It is stored in the node’s configuration file and returned on the query_tn3270_association command.
printer_lu_name
Name of the printer LU to be associated with the display LU specified by the display_lu_name parameter. This name consists of
The specified printer LU should be a printer LU defined on the local node.
It is not possible for a single printer LU to be shared by two TN3270E emulators; no two TN3270 associations should specify the same printer LU.
The printer LU should not be accessible as a generic printer LU; otherwise, it may not be available as an associated printer LU because it is already in use. Therefore, the associated printer LU should not be configured (directly or indirectly as a member of an LU pool) as the printer_lu_name in a define_tn3270_access command.
2.55.2 Returned Parameters
No parameters are returned by SNAplus2 when this command executes successfully.
2.55.3 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
No parameter errors occur for this command.
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.56 define_tn3270_defaults
The define_tn3270_defaults command defines TN3270 parameters used on all client sessions.
216