User's Manual

You can return the local host name by entering %s after the device name. To return the user
name, enter %u after the device name. You can specify how many characters of the name is
returned in each case. For example, %.3s will return the first three characters of the local host
name, and %-.3s will return the last three characters.
To automatically assign a new device name for each successive connection, either enter %dN%
after the name, where N is a decimal value, or %xN%, where N is a hexadecimal value. Each
time the host requests the device name a counter will be incremented modulus N and substituted
into the device name.
For example, TEST%d4% will give TEST1 on first connect, TEST2 on second, TEST3 on third,
TEST0 on fourth, TEST1 on fifth and so on.
TEST%d100% will give TEST1 on first connect, TEST2 on second, ... TEST99 on 99th, TEST0
on 100th, TEST1 on 101st and so on.
These values are preserved over power off, so the first connection of any given power on may not
be TEST1. Assume that the start point is random. In addition there is a single counter for the unit
so concurrent sessions will start from subsequent values. For example, if session one uses TEST1
then session two will use TEST2.
Where a device name collision occurs (i.e. the device name is already in use on the host) the host
will ask again for the device name during the same connection. In this case TEST1, TEST2, ...
may all be tried in one connection until the host accepts one, or all possibilities have been tried. In
the latter case the same name is sent twice in succession to indicate to the host all names have
been tried.
If concurrent 5250 sessions are started before a previous session has negotiated an acceptable
device name, it is possible that the two sessions will access the counter simultaneously and not all
possible names will be tried by each session. This should not cause a problem unless the separate
sessions use different modulo values (for example, session one device name TEST%d4% and
session two device name ANOTHER%d100%) or are connecting to different hosts.
IBMSUBSPW
This enables you to specify the initial Password entry required on the standard startup screen so
that it can be bypassed. The entry can be a maximum of ten characters.
IBMCURLIB
This enables you to specify the initial Library entry required on the standard startup screen so that
it can be bypassed. The entry can be a maximum of ten characters.
IBMMENU
This enables you to specify the initial Menu entry required on the standard startup screen so that it
can be bypassed. The entry can be a maximum of ten characters.
IBMPROGRAM
This enables you to specify the name of the initial program to run. The entry can be a maximum of
ten characters.
KBDTYPE
This specifies the type of keyboard being used.
Advanced Settings
192 Chapter 17 IBM 5250 Display Emulation