CA TPX Session Management for z/OS

Expand all | Collapse all

CA TIPP for TPX: Create a list of Users with Logon Date

  • 1.  CA TIPP for TPX: Create a list of Users with Logon Date

    Posted 12-19-2013 05:34 AM

    To get a list of all users and their last-logon-date this TPXBATCH-Job can be used:

     //BATCHADM EXEC <tpx-region>,VNODE='*BATCH*'                    
     //EXTFILE  DD   DSN='aaa.bbb.EXTRACT',DISP=SHR                  
     //RPTFILE  DD   DSN='aaa.bbb.REPORT',DISP=SHR                   
     //SYSIN    DD   *                                               
     C -------------------------------------------------------------------
     C THIS TPX BATCH JOB LISTS ALL USERS OF TPX AND THEIR LAST LOGON DATE
     C -------------------------------------------------------------------
     EXTRACT GIVING(EXTFILE) USER AND NO SESSIONS (VUSRDACC(--------))
     SET RTITLE1 '1USERNAME LAST LOGON'   
     SET RTITLE2 ' -------- ----------'   
     REPORT GIVING(RPTFILE) USING (EXTFILE)
       (                                  
      (' &UIDXNAME' '&VUSRDACC')          
       )                                  
     //                           
            
     

     



  • 2.  RE: CA TIPP for TPX: Create a list of Users with Logon Date

    Posted 12-19-2013 09:13 AM
    Thanks Alexander for this very informative Tips.
    Regards,
    Ollivier