Skip to content

Configure Connection Settings Dialog Box for Ibm 5250

How do I get to this dialog box?
  1. Open the Settings window.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon or Reflection Browser With a session open in Reflection, from the Quick Access Toolbar, click .
    TouchUx Tap the Gear icon and then select Document Settings.
  2. Under Host Connection, select Configure Connection Settings.

From this dialog box, you can specify the settings for a TN5250 connection.


Setting Description
Host name/IP address Identify the host to which you will connect. Type the host name, alias, or numeric IP address.

Note: Both IPv4 addresses (in the form and IPv6 addresses (in the form 2001:0db8:3c4d:0015:0000:0000:abcd:ef12) are accepted.
Port Type the host port or socket number that the session should use. This field accepts any number between 0 and 66,535 (default = 23).
Use ID Management Enable this option to configure the session to use ID management.

ID Manager, optionally installed with your centralized management server, configures and monitors a pool of resource IDs that a client can use to establish a host session, thereby eliminating the need for administrators to create configurations for every client. Depending on the type of terminal or printer, these resource IDs may represent addresses or identifiers as required.

You can use ID Manager with the IBM3270 and IBM5250 terminals and printers. To use ID Manager, you'll need access to a centralized management server with ID Manager configured. For detailed instructions that show how to set up ID Management, see "Set Up ID Management for Reflection Desktop Sessions" in the Reflection Deployment Guide.

See the additional options when using ID management below:

- Reflection ID Management Server URL The complete URL for the ID Management server. For example,, where tidm is typically case sensitive, but is not.

- ID Selection Criteria The parameters required by the ID Manager server to allocate an ID, such as a pool name.
Device name Specify the terminal device name (also called the display name or the workstation ID) that the IBM System i should use for the session. If this box is left blank, the IBM System i creates a device to use for the session.

The device name can be up to ten characters long. You can include any of the following characters as part of the value in the Device name box.

Character and Usage

- * is replaced by "A", "B", "C", and so on. If the entire alphabet is used, the generated device names continue with "AA", "AB", "AC", and so on.

- % is replaced by P for printer sessions and S for display sessions.

- = is replaced by 1,2, 3, and so on to create a unique device name.

- &COMPN is replaced by the local workstation name; left-trimmed if the generated name exceeds 10 characters.

- &USERN is replaced by the local user name; left-trimmed if the generated name exceeds 10 characters.

- + specifies right-trimming instead of left-trimming. Use with &COMPN or &USERN. This character can be placed anywhere in the string.


- 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=.

- You cannot use both &COMPN and &USERN in the same string.

- To have Reflection generate unique device names automatically based on the special characters described above, the Generate Device Names setting must be enabled. In printer sessions, this setting is off by default. To enable it, see the Generate Device Names below.
Generate device names When selected, Reflection automatically generates device names based on the value specified in the Device name field.

For example, if the specified device name is %ABC=, Reflection generates the device name SABC1 for a display session. If SABC1 is already in use, Reflection tries SABC2, SABC3, and so on.

Setting the device name to "%123*" generates the device name S123A for the first display session, S123B for the second session, and so on.

When cleared, if the specified device name is in use, the session does not connect.
Security Settings Secure data communications with SOCKS or SSL/TLS.

Host Connection Options

Setting Description
Automatically connect to the host Select to establish a host connection as soon as the associated session document is opened.
When connection is terminated Select one of the following options to choose how Reflection handles a terminated connection that is not initiated from Reflection. See descriptions for the options below:

- Reconnect automatically: attempts to reestablish the connection.

- Prompt for reconnection: prompts whether to attempt to reestablish the connection. (When No is selected, the session is left open and disconnected.)

- Leave disconnected: leaves the session disconnected with the session open.

- Close session automatically: closes the session.


Setting Description
Model ID Specify the model of the terminal or device type emulated by this session.

More information