Can multiple SMF datasets be added as input for ACF2 report jobs?
search cancel

Can multiple SMF datasets be added as input for ACF2 report jobs?

book

Article ID: 70069

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

There is a need to run the ACFRPTLL report on the last 4 months of SMF data, which are now on tape. When trying to concatenate input on the RECMAN1 DD, there is an error that concatenated SMF data is not allowed. How can multiple datasets be added as input for ACF2 reports? Can there be more DD statements than RECMAN1, RECMAN2, RECMAN3?

Resolution

Concatenated SMF data is not allowed in ACF reporting. However, the DDNAME of RECxxxxx can be used for inputting multiple SMF datasets. As long as the DDNAME begins with REC, the report utility will use the file for input. 

Example:

//STEP1 EXEC PGM=ACFRPTLL 
//SYSPRINT DD SYSOUT=*  
//RECMAN1  DD DISP=SHR,DSN=SYS1.MAN1
//RECMAN2  DD DISP=SHR,DSN=SYS1.MAN2
//RECARC3  DD DSN=SYS1.MAN1.ARCHIVE1,DISP=SHR
//RECARC4  DD DSN=SYS1.MAN2.ARCHIVE2,DISP=SHR
//SYSIN  DD *

 TITLE(ACFRPTLL REPORT)

/*

Additional Information

For more information, please see the ACF2 documentation section Reporting