Getting Started

TN5250 Options

This dialog box is displayed by clicking the 5250 Options button in the TCP/IP Telnet Configuration dialog box when TN5250 is not suppressed and the IBM 5250 Model is not set to 3812-1or 5553-B01(printers). Refer to the next section for 5250

Printer Options.Device Name

This enables you to enter the name of the device which the server will be requested to assign to this Telnet session.

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 %-.3swill 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

2-14