A report is needed identifying all USER Administrators and the Groups they can Administer.
Release : 5.4
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:
See the topics under Batch Administration