How to list all dataset and resource rules where a full UID string is specified for a userid?
search cancel

How to list all dataset and resource rules where a full UID string is specified for a userid?

book

Article ID: 201862

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 - z/OS ACF2 - MISC

Issue/Introduction

There is  a requirement for defining a new user in ACF2 to be able to see if there are any access and resource rules defined for an existing user logonid that have a UID string going right down to the userid/logonid level. So, how can this be done to list all access and resource rules that have entries going down to a particular userid level?

 

 

 

 

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

The ACFRPTRX report can be used to report on access and resource rules defined for an existing user that have a UID string. Details on the ACFRPTRX report can be found in section 'ACFRPTRX - The Logonid Access Report'. 

Please note that in order to use the NOUIDALL parameter ACF2 PTF SO08334 is required.

Sample ACFRPTRX JCL for dataset access and resource rules follow.

//REPORT  EXEC PGM=ACFRPTRX                                  
//SYSPRINT DD SYSOUT=*                                       
//SYSUT1 DD   UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=30      
//SYSUT2 DD   UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=30 
//* REPORT ON ALL RESOURCE RULES FOR A SPECIFIC UID STRING     
//SYSIN    DD *                                              
TITLE(ACFRPTRX)                                              
ACF2                                                         
RSRC                                                         
TYPE(***)                                                    
NOUIDALL                                                     
UID(ABCDSY***XX)                                    
/* 

//REPORT  EXEC PGM=ACFRPTRX                             
//SYSPRINT DD SYSOUT=*                                  
//SYSUT1 DD   UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=30 
//SYSUT2 DD   UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=30 
//* REPORT ON ALL DATASET ACCESS RULES FOR A SPECIFIC UID STRING  
//SYSIN    DD *                                         
TITLE(ACFRPTRX)                                         
ACF2                                                    
DSET                                                    
NOUIDALL                                                
UID(ABCDSY***XX)                           
RMASK(********)                                         
/*