HP-UX TN3270 Users Guide, March 1998

Table Of Contents
62 Chapter 3
Getting Started with 3270 Emulation
Starting the TN3270 Emulation Program
Session IDs specified on the command line apply only
to the current run of the TN3270 emulation program;
they cannot be saved in a style file. To use the same
command-line session IDs again, you can create a shell
script to start the program with the correct
command-line parameters.
-l Specifies TCP/IP host addresses and ports to be used
with your 3270 sessions. You can override the hosts
defined for your sessions in the configuration file only if
your System Administrator has given you permission
to do so.
The -l is followed by a list of up to ten sets of host
addresses and port numbers. Each set of host address
and port number has the form:
hostname[:portname] and is separated from other
sets by a comma. The value for hostname can be either
the name of the host or the host's dotted-decimal IP
address. If the :portname option is not specified, the
default port of 23 is used. Two consecutive commas in
the list of host addresses and ports indicates that no
host address is being assigned to that session. The
configuration for that session defined by your System
Administrator is used unchanged.
For example, the following string defines that session 1
will connect to host1 on port 28, session 2 will use the
configured host, and session 3 will connect to the host
whose address is 192.19.2.1 on port 23.
-l host1:28,,192.19.2.1