Batch Report for Administrators and groups they can Administer
search cancel

Batch Report for Administrators and groups they can Administer

book

Article ID: 266233

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

A  report is needed identifying all USER Administrators and the Groups they can Administer.

Environment

Release : 5.4

Resolution

Example JCL:

In the hilvl.CB0VSRC dataset, there is an index of Batch Report examples: $BATADM.  Report BRGRPUSR uses a Special  Batch Variable to bring in the groups: 

VUSRMAGN

You use this variable to extract users by the maintenance authorization group that they are authorized to administer. 

Use only for extraction.

The report has been modified to include the Administrator flags:

    UIDXCADM: User  UIDXCMST:  Master UIDXCSYS: System UIDXCOPR:   Oper

 

//SYSIN DD *                                                        
C                                                                   
C Report of Administrators and the Groups they can Administer.                 
C                             
C                                                                   
EXTRACT GIVING(EXTFILE) USER AND NO SESSIONS                        
(UIDXNAME(--------) VUSRPROF(--------) VUSRMAGN(--------) UIDXCADM(Y))                       
C                                                           
    
C                                                                   
SET RTITLE1                                                         
  ' USERID  USER     MASTER    SYSTEM   OPERATOR          '         
SET RTITLE2                                                         
  ' ====== =======   ======    =======  ======== '                  
REPORT GIVING(RPTFILE) USING(EXTFILE)                               
(('0&UIDXNAME' '&UIDXCADM ' '&UIDXCMST ' ' &UIDXCSYS' ' &UIDXCOPR ')
(            '   &VUSR$MAG                                     '))  

 

Output:

 

Additional Information

See the topics under Batch Administration