Client Naming Function

If you specify a Client Naming (CN) substitution keyword in the Workstation ID (WID) field, then an external name is retrieved and used when generating the DEVice NAME.

The CN keywords are prefixed with the ampersand character (&), followed by a five character identifier. Two keywords are supported:

&COMPN
Windows COMPuter Name for the client
&USERN
USER Name specified during logon to the Windows computer where the emulator executes

A name whose length exceeds the space remaining in the 10 character long DEVNAME field will have that excess trimmed from the left side by default. Excess characters can alternatively be trimmed from the right side by prefixing the CN keyword with a plus sign (+) character (for example, +&COMPN).

Note:
  1. If the specified name cannot be obtained, then the message Unable to get the local "x" name (where "x" is COMPN or USERN) is displayed in the status bar.
  2. If a client naming keyword is specified in the WID, then characters other than those defined for this feature are ignored.
  3. A numeric character in the first position of a DEVNAME is invalid, and may be converted by the iSeries, eServer™ i5, or System i5® to the pound (or number) character (#).
Example A: If the Workstation ID is &COMPN* and the name of the local computer is clientaccess1, then the device names generated for the first three sessions would be ntaccess1A, ntaccess1B, and ntaccess1C.
Example B: If the Workstation ID is +&COMPN*% and the name of the USER logon for the local computer is clientaccess1, then the device names generated for the first three sessions would be clientaccA, clientaccB, and clientaccC.