This example shows some of the ways in which you can check the status of a terminal.
If you know the terminal ID, the task is very simple. For example, if you want to know the current status of terminal 994, issue the command TERMNL 994 from the current view. The TERMNL view, showing information about terminal 994 in the current scope, is displayed:
26MAR1999 21:29:06 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> W1 =TERMNL============PLXPROD1=PLXPROD1=26MAR1999==21:29:05====CPSM==========2 CMD Term CICS Netname Acquire Service ATI TTI Cre User Tran --- ID-- System-- -------- Status-- Status---- --- --- Ses ID------ ID-- -994 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -994 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF
For a more complete description of the TERMNL view, see TERMNL - Terminals.
The TERMNL view shows the status of each terminal for each CICS® system it is logged on to: if a terminal is logged on to three CICS systems, it has three entries in the TERMNL view.
If you don’t have the terminal ID, you can:
From the current view, issue the command TERMNL. The TERMNL view, showing the status of terminals within the current scope, is displayed:
26MAR1999 21:29:06 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> W1 =TERMNL============PLXPROD1=PLXPROD1=26MAR1999==21:29:05====CPSM========160 CMD Term CICS Netname Acquire Service ATI TTI Cre User Tran --- ID-- System-- -------- Status-- Status---- --- --- Ses ID------ ID-- -990 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -990 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -991 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -991 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -992 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -992 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -993 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -993 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -994 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -994 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -995 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -995 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -996 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -996 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -997 CICSPA01 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -997 CICSPA04 CICSPA05 RELEASED OUTSERVICE YES YES YES DAVEJEF -998 CICSPA01 CICSPA05 RELEASED INSERVICE YES YES YES DAVEJEF -998 CICSPA04 CICSPA05 RELEASED INSERVICE YES YES YES DAVEJEF
As you can see from this example, the TERMNL view command without parameters can return a lot of data, and you have to search for entries relating to the terminal you’re interested in.
If you don’t know the terminal ID, but are interested in terminals related to a particular user ID, you can extract the relevant subset of TERMNL data. For example, if you want to see TERMNL data for user ID USRPAY2, type the command LOCATE USRPAY2 in the COMMAND field of the TERMNL view, position the cursor in the User ID column, and press Enter. Entries for USRPAY2 move to the top of the view.