CA ACF2

Expand all | Collapse all

Copy of sample jcl for ACFRPTPP

  • 1.  Copy of sample jcl for ACFRPTPP

    Posted 02-20-2019 02:52 PM

    Could someone post sample JCL for ACFRPTPP - the Preprocessor ?

     

    Thank you.



  • 2.  Re: Copy of sample jcl for ACFRPTPP

    Posted 02-20-2019 03:04 PM

    It is found here:   CAX1JCL0(REPORTS)

     

    ********************************* Top of Data **************************
    //REPORTS JOB 1,'CA ACF2 REPORTS',MSGCLASS=A,TYPRUN=HOLD
    //*************************************************************
    //* *
    //* CA ACF2 (16.0) SECURITY FOR z/OS *
    //* Copyright (C) 2015 CA, INC. All rights reserved. *
    //* *
    //* MEMBER: REPORTS *
    //* FUNCTION: THIS JOB CAN BE USED TO PRODUCE A COPY *
    //* OF EACH OF THE CA ACF2 SECURITY *
    //* REPORTS *
    //* NOTE: *
    //* *
    //* 1. WHEN Z/OS 1.9 AND HIGHER IS USING THE OPTIONAL *
    //* SMF RECORDING INTO A LOGR OR DASDONLY LOGSTREAM, *
    //* A PARAMETER SUBSYS=(LOGR,IFASEXIT) NEEDS TO BE *
    //* APPENDED TO THE RECMAN1/2/.. DDNAMES POINTING TO THE *
    //* LOGSTREAM DATA IN PLACE OF THE SMF DATA SET FILES. *
    //* THE SUBSYSTEM NAME LOGR IS CUSTOMIZABLE DEPENDING *
    //* ON WHAT IS DEFINED IN THE IEFSSNXX MEMBER(S) FOR *
    //* LOGGER SUBSYSTEM. SUPPLEMENTAL SUBSYS-OPTIONS *
    //* EXPLAINED IN THE CA ACF2 REPORT AND UTILITIES *
    //* GUIDE (CHAPTER 1 GENERAL INFORMATION, SECTION *
    //* INPUT AND OUPUT FILE FOR REPORTS GENERATION) *
    //* MAY BE APPENDED IN THE SUBSYS PARAMETER. *
    //* *
    //*************************************************************
    //*
    //******************************
    //* SORT CONTROL PROC
    //******************************
    //ACFSORT PROC INDS=, INPUT DATASET TO BE SORTED
    // OUTDS=, OUTPUT DATASET IN SORTED ORDER
    // SYSDA=SYSDA SCRATCH UNIT - USE VIO UNIT
    //SORT EXEC PGM=SORT,REGION=4096K,PARM='SIZE(320000)'
    //SYSOUT DD SYSOUT=*
    //SORTIN DD DSN=&INDS,DISP=(OLD,DELETE)

    //SORTOUT DD DSN=&OUTDS,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=&SYSDA
    //SORTWK01 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //SORTWK02 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //SORTWK03 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //SORTWK04 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //SORTWK05 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //SORTWK06 DD UNIT=&SYSDA,SPACE=(CYL,(1,1))
    //ACFSORT PEND
    //*
    //**************************************
    //* CA ACF2 REPORT GENERATOR PROC
    //**************************************
    //ACFRPT PROC PROG=, LAST TWO CHARS OF REPORT GEN NAME
    // DS= INPUT TO REPORT GENERATOR
    //REPORT EXEC PGM=ACFRPT&PROG
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //RECORDS DD DSN=&DS,DISP=(OLD,PASS)
    //ACFRPT PEND
    //*
    //*-------------------------------------------------------------------
    //* SPLIT THE SMF INPUT FILE(S) INTO SEPARATE FILES BASED UPON
    //* CA ACF2 RECORD TYPES AND SUBTYPES
    //*-------------------------------------------------------------------
    //PRESCAN EXEC PGM=ACFRPTPP,REGION=4096K
    //SYSPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //RECMAN1 DD DSN=SYSX.MAN1,DISP=SHR
    //SMFPR DD DSN=&PR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFER DD DSN=&ER,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFVR DD DSN=&VR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFJR DD DSN=&JR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFAR DD DSN=&AR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFCR DD DSN=&CR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFTR DD DSN=&TR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFDR1 DD DSN=&DR1,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFDR2 DD DSN=&DR2,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA

    //SMFDR3 DD DSN=&DR3,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFDR4 DD DSN=&DR4,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFNR DD DSN=&NR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFOR DD DSN=&OR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFSR DD DSN=&SR,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFDA DD DSN=&DA,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //SMFSG DD DSN=&SG,SPACE=(CYL,(1,1)),DISP=(,PASS),UNIT=SYSDA
    //*
    //*-------------------------------------------------------------------
    //* SORT THE RESTRICTED LOGONID TRACE RECORDS
    //* BY LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTJOB EXEC ACFSORT,REGION=4096K,INDS='&TR',OUTDS='&STR'
    //SYSIN DD *
    SORT FIELDS=(73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE INVALID PASSWORD/AUTHORITY VIOLATION
    //* RECORDS BY LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTPSW EXEC ACFSORT,REGION=4096K,INDS='&PR',OUTDS='&SPR'
    //SYSIN DD *
    SORT FIELDS=(73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE DATASET LOGGING RECORDS
    //* BY DATASET NAME, LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTDSL EXEC ACFSORT,REGION=4096K,INDS='&DR1',OUTDS='&SDR1'
    //SYSIN DD *
    SORT FIELDS=(190,44,CH,A,73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE DATASET VIOLATION RECORDS

    //* BY DATASET NAME, LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTDSV EXEC ACFSORT,REGION=4096K,INDS='&DR2',OUTDS='&SDR2'
    //SYSIN DD *
    SORT FIELDS=(190,44,CH,A,73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE DATASET TRACE RECORDS
    //* BY LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTDST EXEC ACFSORT,REGION=4096K,INDS='&DR3',OUTDS='&SDR3'
    //SYSIN DD *
    SORT FIELDS=(73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE PROTECTED PROGRAM VIOLATIONS AND LOGGINGS
    //* BY PROGRAM NAME, LOGONID, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTDSP EXEC ACFSORT,REGION=4096K,INDS='&DR4',OUTDS='&SDR4'
    //SYSIN DD *
    SORT FIELDS=(309,8,CH,A,73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE TSO COMMAND RECORDS
    //* BY JOBNAME, DATE, AND TIME
    //*-------------------------------------------------------------------
    //SORTCR EXEC ACFSORT,REGION=4096K,INDS='&CR',OUTDS='&SCR'
    //SYSIN DD *
    SORT FIELDS=(73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*-------------------------------------------------------------------
    //* SORT THE RESOURCE VIOLATION/LOGGING RECORDS
    //* BY RESOURCE KEY, LOGONID, DATE, TIME

    //*-------------------------------------------------------------------
    //SORTVR EXEC ACFSORT,REGION=4096K,INDS='&VR',OUTDS='&SVR'
    //SYSIN DD *
    SORT FIELDS=(193,44,CH,A,73,8,CH,A,11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    //*
    //*
    //*-----------------------------
    //* SORT THE SECTRACE RECORDS
    //* BY DATE, AND TIME
    //*-----------------------------
    //SORTJOB EXEC ACFSORT,REGION=4096K,INDS='&SR',OUTDS='&SSR'
    //SYSIN DD *
    SORT FIELDS=(11,4,PD,A,7,4,BI,A),SIZE=E5000
    END
    /*
    //*
    //*-------------------------------------------------------------------
    //* RESTRICTED LOGONID JOB LOG REPORT
    //*-------------------------------------------------------------------
    //JOBLOG EXEC ACFRPT,PROG=JL,DS='&STR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* INVALID PASSWORD/AUTHORITY REPORT
    //*-------------------------------------------------------------------
    //PASSWD EXEC ACFRPT,PROG=PW,DS='&SPR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* LOGONID JOURNAL REPORT
    //*-------------------------------------------------------------------
    //LOGONID EXEC ACFRPT,PROG=LL,DS='&JR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* INFORMATION STORAGE JOURNAL REPORT

    //*-------------------------------------------------------------------
    //INFOLOG EXEC ACFRPT,PROG=EL,DS='&ER'
    //*
    //*
    //*-------------------------------------------------------------------
    //* GENERALIZED RESOURCE TRACE LOG
    //*-------------------------------------------------------------------
    //RSRCTRCE EXEC ACFRPT,PROG=RV,DS='&SVR',
    // PARM='TRACE TITLE(GEN. RESOURCE TRACE)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* GENERALIZED RESOURCE LOGGING REPORT
    //*-------------------------------------------------------------------
    //RSRCLOG EXEC ACFRPT,PROG=RV,DS='&SVR',
    // PARM='LOG TITLE(GEN. RESOURCE LOG)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* GENERALIZED RESOURCE VIOLATION REPORT
    //*-------------------------------------------------------------------
    //RSRCVIO EXEC ACFRPT,PROG=RV,DS='&SVR',
    // PARM='VIO TITLE(GEN. RESOURCE VIOLATIONS)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* RULE ID JOURNAL REPORT
    //*-------------------------------------------------------------------
    //RULEID EXEC ACFRPT,PROG=RL,DS='&AR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* DATASET LOGGING RECORD REPORT
    //*-------------------------------------------------------------------
    //DSLOGS EXEC ACFRPT,PROG=DS,DS='&SDR1',
    // PARM='TITLE(DATASET LOGGING RECORDS)'
    //*

    //*
    //*-------------------------------------------------------------------
    //* DATASET VIOLATION RECORDS REPORT
    //*-------------------------------------------------------------------
    //DSVIOS EXEC ACFRPT,PROG=DS,DS='&SDR2',
    // PARM='TITLE(DATASET VIOLATION RECORDS)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* DATASET TRACE RECORDS REPORT
    //*-------------------------------------------------------------------
    //DSTRACE EXEC ACFRPT,PROG=DS,DS='&SDR3',
    // PARM='TITLE(DATASET TRACE RECORDS)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* PROTECTED PROGRAM RECORDS REPORT
    //*-------------------------------------------------------------------
    //DSPGMS EXEC ACFRPT,PROG=DS,DS='&SDR4',
    // PARM='TITLE(PROTECTED PROGRAM RECORDS)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* TSO COMMAND RECORDS REPORT
    //*-------------------------------------------------------------------
    //CMDREC EXEC ACFRPT,PROG=CR,DS='&SCR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* ENVIRONMENT REPORT
    //*-------------------------------------------------------------------
    //ENVIRO EXEC ACFRPT,PROG=NV,DS='&NR',
    // PARM='TITLE(ENVIRONMENT RECORDS)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* UNIX SYSTEM SERVICES REPORT

    //*-------------------------------------------------------------------
    //UNIXSVC EXEC ACFRPT,PROG=OM,DS='&OR'
    //*
    //*
    //*-------------------------------------------------------------------
    //* MLS DIRAUTH REPORT
    //*-------------------------------------------------------------------
    //MLSDIRA EXEC ACFRPT,PROG=DA,DS='&DA',
    // PARM='TITLE(DIRAUTH REPORT)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* CA STATISTICS REPORT
    //*-------------------------------------------------------------------
    //CASTATS EXEC ACFRPT,PROG=SG,DS='&SG',
    // PARM='TITLE(CA STATISTICS REPORT)'
    //*
    //*
    //*-------------------------------------------------------------------
    //* SECTRACE REPORT
    //* THIS REPORT IS COMMENTED OUT; UNCOMMENT IF YOU WANT TO RUN IT.
    //*-------------------------------------------------------------------
    //*SECTR EXEC ACFRPT,PROG=ST,DS='&SSR'
    //*