PASSPORT Knowledge Base
Connection Issues

Date Published: October 17, 2007
Date Updated: March 3, 2008

Title

Using a Windows Environment Variable as a Resource Name

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

TN3270, TN5250

Issue

How can I use a Windows environment variable as my resource name?

Solution

For PASSPORT PC to Host:

  1. Disconnect from your PASSPORT session.
  2. Select Setup from the Communication menu.
  3. Enable the checkbox next to TN3270E Support.
  4. Select Specific.
  5. In the Resource Name box, enter the Windows environment variable that you wish to use as the resource name. For example, %USERNAME% uses the currently logged in user as a resource name, or %COMPUTERNAME% uses the workstation name.

For PASSPORT Web to Host:

From the Administrator:

  1. Open an existing or create a new session profile .
  2. Enable the checkbox next to TN3270E Support.
  3. Select Specific.
  4. In the Resource Name box, enter the Windows environment variable that you wish to use as the resource name. For example, %USERNAME% uses the currently logged in user as a resource name, or %COMPUTERNAME% uses the workstation name.
  5. Click OK to save or Connect to test.

More Information

Keywords

resource name, environment variable, user name, computer name, Windows environment variable