TPX Session Management for z/OS

 View Only
Expand all | Collapse all

Clarification on the case when TPX batch variable VSES$TPX = N

  • 1.  Clarification on the case when TPX batch variable VSES$TPX = N

    Broadcom Employee
    Posted Aug 29, 2014 03:15 PM

    According to manual CA TPX Session Management Batch Administration Guide, batch variable VSES$TPX "indicates whether or not the session is a session." But what does this mean?

     

    Through testing we have determined that VSES$TPX will only be N when the session is an STX session      (STX is used to access X.25 applications).



  • 2.  Re: Clarification on the case when TPX batch variable VSES$TPX = N

    Posted Sep 01, 2014 02:05 AM

    This example of a TPXBATCH Job provides you with a list of all users and their STX-sessions:

     

    //BATCH    EXEC tpx,VNODE='*BATCH*'           

    //EXTFIL   DD  DSN='AAA.BBB.EXTRACT',DISP=SHR

    //RPTFIL   DD SYSOUT=*                            

    //SYSIN    DD   *

    EXTRACT GIVING(EXTFIL) USER AND ALL SESSIONS (VSES$TPX(Y))

    SET RTITLE1 '1USERNAME LAST LOGON'

    SET RTITLE2 ' -------- ----------' 

    REPORT GIVING(RPTFIL) USING (EXTFIL)

       (                                

      (' &UIDXNAME' '&VSES$TPX')        

       )                                

    //