ACF2 Report on all UIDs that have Access to a Fully Qualified Dataset

book

Article ID: 196708

calendar_today

Updated On:

Products

CA ACF2 CA ACF2 - z/OS CA ACF2 - MISC

Issue/Introduction

A site may be looking for any kind of facility or reporting program that can report on all UID’s that have access to a Discrete Data Set Name (Fully Qualified) such as  SYS1.LINKLIB. Report all the UID’s that have access for this DSN.

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

There are two methods available to report on all UID's that have access to a Discrete Data Set Name (Fully Qualified) such as SYS1.LINKLIB.

Method 1
The ACFRPTXR report can be used, sample JCL follows.

//REPORT EXEC PGM=ACFRPTXR,REGION=0M                           
//SYSPRINT DD SYSOUT=*                                         
//SYSUT1 DD   UNIT=SYSDA,SPACE=(CYL,(100,100)) DCB=BUFNO=30    
//SYSUT2 DD   UNIT=SYSDA,SPACE=(CYL,(500,500)),DCB=BUFNO=30    
//SYSDSLST  DD  *,DCB=BLKSIZE=80                               
SYS1.LINKLIB                                                   
//SYSIN DD *                                                   
ACF2                                                           
DSET                                                           
LID                                                            
LIDNAME                                                        
//*                                                            

Details on the ACFRPTXR report can be found in section: "ACFRPTXR-The Cross-Reference Report" in the ACF2 documentation.

Method 2
The ACCESS subcommand can be used from either TSO, ACF or in a batch job ACFBATCH, sample JCL follows.

//ACFBATCH EXEC PGM=ACFBATCH     
//SYSPRINT DD SYSOUT=*           
//SYSIN    DD *                  
ACCESS DSNAME('SYS1.PARMLIB')    
/*                               

Details on the ACCESS subcommand can be found in section: "ACCESS Subcommand" in the ACF2 documentation.