LU names and device names
What a logical unit name is, why a host assigns one, and when to ask for a specific one.
On a mainframe, every terminal session is a logical unit (LU) in the SNA network and has a unique LU name. A TN3270 server on z/OS gives each incoming connection one, from a pool it manages. Typical names look like TCP00001.
Who picks the name
- Normally the host. It takes the next free LU from a pool, based on your IP address, user or the terminal type. You do not have to do anything.
- You can ask for one with TN3270E. Enter a specific LU name, or the name of an LU pool (a group of LUs), as the connection's device name. The host uses it if it exists and is free.
Why ask for a specific LU
- The host maps that LU to a printer or to special rules (a different default application, a timeout, a signon).
- You must reconnect to the same LU to resume a session, or an application expects the same terminal name each time.
- An application checks the terminal name for security or routing.
If the name is refused
- Check the spelling and the case. LU names are normally upper case.
- The LU may be in use. Wait, or ask for the pool instead of one LU. If the server reports RCODE 3003 or 3004, see TN3270 "No LUs available" and RCODE 3003 or 3004: the server has no LU for you.
- Leave the field empty to let the host decide.
- Classic TN3270 (RFC 1576) has no standard way to ask for a name. See TN3270E.
If you do not know the names, ask the host administrator for the list.