How can I run the ACF2 report ACFRPTDS and exclude multiple High Level Qualifiers (HLQs) from the report?

Document ID : KB000052348
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Dataset HLQs can be excluded from the ACFRPTDS report using the NMASK batch parameter or the NDSNAME mask parameter of the ACF2 ISPF ACFRPTDS panel.

Solution:

The batch ACFRPTDS NMASK parameter or the ACF2 ISPF panel NDSNAME mask ===> field lets a site exclude information from the report pertaining to a certain data set HLQ or group of data sets. For example, a parameter of NMASK(SYS1.-) excludes from the report any information pertaining to the SYS1 data sets. Any data set names that this parameter specifies override any data set names that the MASK parameter specifies.

NMASK / NDSNAME mask syntax:

You can specify this value as a fully qualified data set name or as a mask. An asterisk (*) indicates that any character can be present. A dash (-) as the only character in an index level indicates that any number of index levels can be substituted. Some examples of data set masks are:

A*.DATA matches:

  • A.DATA
  • AB.DATA
  • A1.DATA

A*******.DATA matches:

  • A.DATA
  • A1234567.DATA

A- matches:

  • A.DATA
  • A.B.C.D.DATA
  • A

-LOAD matches:

  • A.LOAD
  • A.B.C.D.LOAD
  • LOAD

NOTE:
Only one NMASK value can be specified in the ACFRPTDS report parameters. Multiple datasets or groups of datasets will be excluded if the dataset names match the NMASK DSNMASK.

Sample ACFRPTDS JCL using a NMASK(dsnmask):

//REPORT  EXEC PGM=ACFRPTDS                                     
//SYSPRINT DD SYSOUT=*                                          
//SYSOUT   DD SYSOUT=*                                          
//HEXDUMP  DD SYSOUT=*                                          
//RECMAN1  DD DISP=SHR,DSN=SYS1.MAN1                            
//RECMAN2  DD DISP=SHR,DSN=SYS1.MAN2                            
//RECMAN3  DD DISP=SHR,DSN=SYS1.MAN3                            
//SYSIN    DD *                                                 
TITLE(ACF2 ACFRPTDS)                                            
NMASK(SYS*.-)                                                   
//*                                                             

Details on the ACFRPTDS report and the NMASK and NDSNAME parameters can be found in the ACF2 Security for z/OS Report and Utilities Guide in Chapter 4: ACFRPTDS-Data Set/Program Event Log.