TPXOPER command D APPL shows application as INACTIVE but it is active in the user's TPX menu session list.

Document ID : KB000053153
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

On the TPX menu, you are looking at a SessionID with an associated APPLID. You must ensure that you are looking at the same APPLID in TPXOPER. TPXOPER will list the TPX menu SessionIDs as APPLIDs, since they are defined in the Application Control Table (ACT). You need to define the session APPLIDs in the ACT if you want to see these in TPXOPER.

Solution:

This is best explained with an example...

The TPX menu (TEN0041) shows:

TPX MENU FOR      TSUABCD           Panelid  - TEN0041
Terminal - TCPMV010
Cmdkey=PA3        Jump=PF24      Menu=PF4                  Model    - 3278-5A
Print=NONE        Cmdchar=\                                System   - TPX
 
# Sessid      Session Description               Applid       Status
  
_ 01 TSOMV       TSO for UNMV                      UHT13
_ 02 TSOOS       TSO for UNOS                      UHT14
_ 03 TSOMVALT    TSO for UNMV w/ Automatic Logon   UHT13008

D APPLS from TPXOPER we see:

   TPX      - UNMV ************* TPX Operator      **********************
   TEN0202                                                                      
                                                                             
                             Application Summary                             
  ------------ Type ------------     ---------- Status ----------     Total
  Share   Group   Unique    TPX      Active   Inactive   Quiesced     Appls
  00002   00001   00000    00008     00008     00003      00000       00011
                                                                             
   Applid       Application description          Type      Status      Scnt
  TSOOS     TSO UNOS                             SHR      INACTIVE     00000
  TSOMV     TSO UNMV                             SHR      INACTIVE     00000
  TPXWINDW  TPX Windows                          ACT      ACTIVE       00000
  TPXVWUTL  TPX View Utility                     ACT      ACTIVE       00000
  TPXVIEW   TPX View                             ACT      ACTIVE       00000
  TPXOPER   TPX Operator                         ACT      ACTIVE       00001
  TPXNOTES  TPX Notepad                          ACT      ACTIVE       00000
  TPXMAIL   TPX Mailbox                          ACT      ACTIVE       00000
  TPXDEMO   TPX Dummy Session                    ACT      ACTIVE       00000
  TPXADMIN  TPX Administration                   ACT      ACTIVE       00001

F TPX,D APPLS shows:

       F TPX,D APPLS
 
TPX200I OK 
TPX APPLID DISPLAY 395
SELECT ALL APPLIDS
 -APPLID-  TYPE  SCNT  SMAX  STAT   -APPLID-  TYPE  SCNT  SMAX  STAT
 TSOOS     SHR      0  ****  INACT  TSOMV     SHR      0  ****  INACT
 TPXWINDW  UNQ      0  ****  ACTIV  TPXVWUTL  UNQ      0  ****  ACTIV
 TPXVIEW   UNQ      0  ****  ACTIV  TPXOPER   UNQ      1  ****  ACTIV
 TPXNOTES  UNQ      0  ****  ACTIV  TPXMAIL   UNQ      0  ****  ACTIV
 TPXDEMO   UNQ      0  ****  ACTIV  TPXADMIN  UNQ      1  ****  ACTIV
 IMSD1     GRP      0  ****  INACT  ********  UNQ      1  ****  ACTIV
  
APPL SUMMARY:  -------- TYPE --------     ------ STATUS -------
               SHARED   GROUP  UNIQUE     ACTIV   INACT   QSCED
TOTAL=00012     00002   00001   00009     00009   00003   00000

VTAM shows both TSOOS and TSOMV as active: (using TSOMV as example):

D NET,ID=UHT13     
IST097I DISPLAY ACCEPTED
IST075I NAME = ISSCUHC.UHT13, TYPE = APPL 392
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST1447I REGISTRATION TYPE = CDSERVR
IST977I MDLTAB=***NA*** ASLTAB=***NA***
IST861I MODETAB=***NA*** USSTAB=***NA*** LOGTAB=***NA***
IST934I DLOGMOD=***NA*** USS LANGTAB=***NA***
IST1632I VPACING =  0

Explanation:

On the TPX menu, you are looking at a SessionID of TSOMV with an APPLID of UHT13 and, similarly, a SID of TSOOS with AID of UHT14.

However, in the TPXOPER display you are looking at an APPLID of TSOOS and TSOMV. They aren't the same thing. You need to look at APPLIDs UHT13 and UHT14 to properly compare.

If UHT13 is not displayed on the TPXOPER D APPL output, this is because UHT13 is not defined in the ACT, so it is not "known" to TPX. By adding UHT13 and UHT14 to the ACT, they will then be displayed in TPXOPER when using D APPLS.

(Note that the above VTAM check is on UHT13. A VTAM display for TSOMV would not show as active.)