HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Appendix E 325
Configuring TN3270 Hosts from the Command Line
Overriding Host Domain Names
Overriding Host Domain Names
To override host domain names, enter the following on the command line:
tn_3270 -l domain[:port], domain[:port
Supply the following options and parameters:
-l
Specifies that the host domain names configured in the
configuration file are to be overridden by the domain
names specified on the command line.
domain
Specifies the symbolic domain name or the
dotted-decimal Internet address of the TN3270 host.
port
Specifies the TCP/IP port number that the host uses for
TN3270 data.
You can specify up to ten domain[:port] addresses, separated by
commas. These addresses are assigned to each session in turn. Two
consecutive commas indicate that no address is being assigned to the
session from the command line; the address specified in the configuration
file is used instead.
If the command contains fewer addresses than the configuration file,
addresses in the configuration file that are not specifically overridden are
used. If the command contains more addresses than the configuration
file (up to a maximum of ten), additional sessions are assigned, and you
can activate them as required.
For example, if you have three host records in your configuration file,
whose domain fields are set to 1.2.3.4, 100.101.102.103, and
40.50.60.70, and you enter tn_3270 -l 99.99.99.99,,1.2.3.4,
the first session will use address 99.99.99.99, the second session will
use address 100.101.102.103 (as configured in the configuration file),
and the third session will use address 1.2.3.4.