Question:
We make rule changes all the time and then do the MODIFY ACF2 rebuild command, is there a way to verify that the MODIFY ACF2 command was issued and by whom? Is there an ACF2 report and sample JCL that can be run?
Answer:
The ACFRPTNV report generator produces loggings of each START (S ACF2), STOP or PURGE (P ACF2), and MODIFY (F ACF2) operator command issued such as BACKUP, CACHE, CPF, DDB, NEWMOD, NEWXREF, NEWSHIFT, OMVS, RELOAD, SYSPLEX. This report generator also produces loggings of system IPLs and possible losses of SMF data.
CA ACF2 provides a sample report named REPORTS in ACF2.SAMPJCL - this JCL will run ACFRPTPP (preprocessor) and then many of the standard report programs. It does not provide simple JCL to only run one report program.
The ACFRPTNV report parameters can be specified using one of these methods:
The PARM parameter of the EXEC statement in the JCL or the SYSIN DD.
The ACFRPTNV report uses standard CA-ACF2 report JCL like the following two examples for batch submission.
Example 1 Using PARM statement for report parameters.
//REPORT EXEC PGM=ACFRPTNV,PARM=('TITLE(SAMPLE ACFRPTNV)', // 'HEADER,CPUID(****)') //SYSPRINT DD SYSOUT=* //* THE FOLLOWING DDS SHOULD POINT TO THE SMF DATASETS //RECMAN1 DD DISP=SHR,DSN=SYSX.MAN1 //RECMAN2 DD DISP=SHR,DSN=SYSX.MAN2 //RECMAN3 DD DISP=SHR,DSN=SYSX.MAN3 //SYSIN DD * //*
Example 2 Using SYSIN file for report parameters.
//REPORT EXEC PGM=ACFRPTNV //SYSPRINT DD SYSOUT=* //* THE FOLLOWING DDS SHOULD POINT TO THE SMF DATASETS //RECMAN1 DD DISP=SHR,DSN=SYSX.MAN1 //RECMAN2 DD DISP=SHR,DSN=SYSX.MAN2 //RECMAN3 DD DISP=SHR,DSN=SYSX.MAN3 //SYSIN DD * TITLE(SAMPLE ACFRPTNV) CPUID(****) HEADER //*
DD statements
RECxxxxx
These ddnames identify the files containing the input SMF records. ACFRPTNV accepts one SMF input file per ddname. Do not concatenate SMF input files.
SYSPRINT
ACFRPTNV uses the SYSPRINT file for message and summary report output.
SAMPLE OUTPUT
The following sample output examples shows the ACFRPTNV reporting for the following MODIFY ACF2 commands.
eTrust CA-ACF2 Security - ACFRPTNV - ENVIRONMENT REPORT - PAGE 1 DATE 11/03/08 (08.308) TIME 13.34 SAMPLE ACFRPTNV ENVIRONMENT EVENT LID DATE TIME CID CPU ACF2 SYSID ACF2 CMD RESULT CONSOLE NAME CONSOLE ID ACF2 MODIFY USER001 08.308 11/03 13:33 NONE SYSX SYSX MODIFY CMD UNDER TSO USER001 NONE PARM='REFRESH(OPTS)' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79505 GSO REFRESH START IN PROGRESS FOR SYSTEM: SYSX' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79506 GSO REFRESHING OPTS' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79507 GSO PROCESSING COMPLETED WITHOUT ERROR' ACF2 MODIFY USER001 08.308 11/03 13:33 NONE SYSX SYSX COMMAND SUCCESSFUL USER001 NONE PARM='REFRESH(OPTS)' ACF2 MODIFY USER002 08.308 11/03 13:33 NONE SYSX SYSX MODIFY CMD UNDER TSO USER002 NONE PARM='SETNORUL(ALL)' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79931 RULES RESET FOR ALL ADDRESS SPACES' ACF2 MODIFY USER002 08.308 11/03 13:33 NONE SYSX SYSX COMMAND SUCCESSFUL USER002 NONE PARM='SETNORUL(ALL)' ACF2 MODIFY USER002 08.308 11/03 13:33 NONE SYSX SYSX MODIFY CMD UNDER TSO USER002 NONE PARM='REBUILD(FAC)' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF8A036 DIRECTORY RFAC HAS BEEN REBUILT' ACF2 MODIFY USER002 08.308 11/03 13:33 NONE SYSX SYSX COMMAND SUCCESSFUL USER002 NONE PARM='REBUILD(FAC)' ACF2 MODIFY USER003 08.308 11/03 13:33 NONE SYSX SYSX MODIFY CMD UNDER TSO INTERNAL PARM='OMVS' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79460 OPENEDITION MVS TABLE(S) BUILT' ACF2 MESSAGE 08.308 11/03 13:33 00 SYSX SYSX NONE NONE MSG ='ACF79467 LINUX USER AND GROUP TABLES BUILT' ACF2 MODIFY USER003 08.308 11/03 13:33 NONE SYSX SYSX COMMAND SUCCESSFUL INTERNAL PARM='OMVS' ACF2 MODIFY USER004 08.308 11/03 13:33 NONE SYSX SYSX MODIFY CMD UNDER TSO INTERNAL PARM='BACKUP' ACF2 MODIFY USER004 08.308 11/03 13:33 NONE SYSX SYSX COMMAND SUCCESSFUL INTERNAL PARM='BACKUP'
Additional Information:
Details on the ACFRPTNV report can be found in "Chapter 9: ACFRPTNV-The Environment Report" of the CA ACF2 for z/OS Report and Utilities Guide.
-