Technical Notes |
|
This technical note explains how to customize the TN5250 session display name in Reflection for IBM 2008 or 2007.
In display sessions, the device name is visible in the sign on screen when you connect to your host. The session's device display name can be set before connecting to the host.
This section details how to set the session device display name in Reflection for IBM. If you choose not to configure the device display name, the AS/400 automatically assigns a device name for the session named QPADEV<####>.
If you are connecting using a 5250 Telnet connection, you can configure Reflection to generate customized unique device names for sessions. For Telnet connections, this is configured in the device name field. Special characters can be included in the device name value to specify how the device name is displayed and incremented.
By default, Reflection 2008 (or 2007) automatically generates device names based on the value specified in the Device Name field. To specify how the device name should be incremented and to configure the device name, follow these steps.
This check box is selected by default, enabling Reflection to automatically generate a device name if the Device name field is blank. When this box is cleared, if no Device name is provided, or the provided name is in use, the session does not connect.
Note: You can include any of the following characters as part of the value you enter for Device name. However, you can use only one string in combination with these characters. If you use separated strings, the second string is dropped. For example, %MyDevice= is valid. However, %My=Device is not valid, and will be treated by the system as if it were &My=.
| Character |
How this character is used |
| * |
Replaced by "A", "B", "C", and so on for each new session. If the entire alphabet is used, the generated device names continue with "AA", "AB", "AC", and so on. |
| % |
Replaced by "P" for printer sessions and "S" for display sessions. |
| = |
Replaced by "1", "2", "3", and so on. |
| &COMPN |
Replaced by the local workstation name, left-trimmed if the generated name exceeds 10 characters. This character cannot be used with "&USERN". |
| &USERN |
Replaced by the local user name, left-trimmed if the generated name exceeds 10 characters. This character cannot be used with "&COMPN". |
| + |
Use this character with "&USERN" or "&COMPN" to specify right-trimming instead of left-trimming. This can be placed anywhere in the string. |
Examples: