LOGON APPLID(TSO): the mainframe welcome screen and USS messages
The first mainframe screen is a VTAM USS screen. Type a site shortcut or LOGON APPLID(name). How to read COMMAND UNRECOGNIZED and UNABLE TO ESTABLISH SESSION.
On z/OS the first screen after a TN3270 connection usually comes from VTAM, the part of z/OS Communications Server that connects terminals to applications such as TSO, CICS and IMS. You type which application you want, and VTAM starts a session with it. In VTAM's manuals this is USS, unformatted system services. It has nothing to do with z/OS UNIX System Services.
Where a new connection lands
IBM lists three places the TN3270 server can send a new connection. Your site chooses:
- The USS message 10 screen. The site's welcome screen, often a logo and a list of systems or applications.
- A default application. You go straight to one application, such as the TSO logon prompt or a CICS sign-on screen, with no welcome screen.
- The Telnet solicitor screen. A plain prompt that asks for the application name and other logon details.
What to type
Most welcome screens list shortcuts the site defined, such as TSO or the name of a CICS region. The site's USS table turns a shortcut into a full LOGON command. Type the shortcut and press Enter.
The full command always has this form:
LOGON APPLID(TSO)
- APPLID is the application's VTAM name.
TSOis only an example: every name is chosen by the site, so ask for it if it is not on the screen. - LOGMODE chooses the session settings, such as the screen size. Leave it out unless you were given one:
LOGON APPLID(TSO) LOGMODE(name). - DATA passes text to the application, for example
DATA(user1). What it does depends on the application.
IBM's default table converts lowercase letters to uppercase, so logon applid(tso) works too. Text in single quotes, such as DATA('user1'), is passed without that conversion.
After a TSO logon, you see the TSO prompt or full-screen panel. See TSO/E logon and common messages.
Messages from the welcome screen
These are the texts in IBM's default USS table (ISTINCDT). Sites can reword them, so the number in the table name, such as USSMSG07, is the stable part. Where the table has %, VTAM fills in details such as the command, parameter or application name.
- INVALID % COMMAND SYNTAX (USSMSG01). A typing error, often a missing parenthesis: write
APPLID(TSO), notAPPLID TSO. - % COMMAND UNRECOGNIZED (USSMSG02). The first word is not a command or shortcut in this site's table. Use the full
LOGON APPLID(...)form, or check the shortcut on the welcome screen. - % PARAMETER EXTRANEOUS (USSMSG03) and % PARAMETER VALUE %(2) NOT VALID (USSMSG04). A keyword the command does not take, or a value it cannot use.
- REQUIRED PARAMETER OMITTED (USSMSG12). Something the command needs, usually the application name, is missing.
- %(1) UNABLE TO ESTABLISH SESSION - %(2) FAILED WITH SENSE %(3) (USSMSG07). VTAM understood the command but could not start the session. The application may be down, may not accept logons now, or the name is wrong. IBM also lists a wrong or unsuitable LOGMODE as a cause. Write down the sense code: support staff look it up in IBM's IP and SNA Codes manual.
- % SESSIONS ENDED (USSMSG11). Your session with the application ended, for example after
LOGOFF.
After you log off
If the site turned on the TN3270 server's LUSESSIONPEND option, logging off an application returns you to the screen you logged on from instead of closing the connection. Otherwise the connection closes and you connect again.
If an application hangs, SysReq followed by LOGOFF ends the session from VTAM's side. See Attn and SysReq over TN3270: why the key does nothing.
Related
- TSO/E logon and common messages
- TSO messages IKJ56700A (ENTER ...) and IKJ56420I (not authorized to use TSO)
- CICS sign-on and 3270 keys
- Attn and SysReq over TN3270: why the key does nothing
- LU names and device names
- Screen models and terminal types
- OSA-ICC TN3270 session shows only the connection lines: how to reach TSO
Sources
- IBM z/OS 3.1: Session-level USS table (ISTINCDT)
- IBM z/OS 2.5: Unformatted system services tables
- IBM z/OS 3.2: Examples of USS command conversion
- IBM z/OS 3.2: Customizing USS tables
- IBM z/OS 3.2: Using the Telnet solicitor or USS logon screen
- IBM z/OS Basic Skills: TELNETPARMS statement block (LUSESSIONPEND, MSG07)
- IBM z/OS 3.2: Logon problems (USSMSG7 and the logmode)