Purpose:
SMF$XT60 is a batch tool allowing to list access records as of RA2002 V3R7M2.
A user can as well specify a SMF logger file instead of SYS1.MANx or any other archived SMF file.
//*
//* create access list
//*
//SMFEXTR EXEC PGM=IFASMFDP
//STEPLIB DD DISP=SHR,DSN=RA2002.LINKLIB <-- UPDATE
//SMFDATA1 DD DISP=SHR,DSN=YOUR.SMF.FILE <-- UPDATE
//SMFOUT DD DUMMY,DSN=&&SMFFILE, <-- UPDATE OR DUMMY
// DISP=(,PASS),
// DCB=(RECFM=VBS,LRECL=32760,BLKSIZE=6240),
// UNIT=SYSDA,SPACE=(TRK,(1,1))
//SYSPRINT DD SYSOUT=*
//*
//* OUTPUT LISTINGS
//*
//ACINTENT DD SYSOUT=* * ACCESS INTENT LIST
//*
//*
//*
//SYSIN DD *
INDD(SMFDATA1,OPTIONS(DUMP))
ABEND(NORETRY)
OUTDD(SMFOUT,TYPE(80))
USER2(SMF$XT60)
USER3(SMF$XT61)
/*
//VERPRINT DD SYSOUT=*
//VERINPUT DD *
*-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
* filter options
*-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
+OPTIONS HEADING=YES
*INCLUDE EVENTQ=WARNING,OWNERID=CSA,U=DB2TRAK,G=STARTASK
*INCLUDE SID=A*
*INCLUDE U=PP*
*INCLUDE EVENTQ=WARNING
*INCLUDE O=C*
*INCLUDE V=PR*
*INCLUDE G=PJOB,U=HM*
*INCLUDE INTENT=ALTER
*INCLUDE ALLOWED=UPDATE
*INCLUDE PROFILE=SYS2.NDV.PRO2.*
*INCLUDE WARNING=YES,VIOLATION=YES,SMFID=**,PROFILE=SYS2.NDV.PRO2.*
*INCLUDE WARN=YES,VIOL=YES,SMFID=**,P=SYS2.NDV.PRO2.*
*INCLUDE WARN=YES,P=DSNP.*.EXECUTE,EVENTQ=WARNING
+INCLUDE CLASS=FACILITY,VIOLATION=YES
/*
//*
//* OPTIONAL SMF RECORD FILTERING
//*
//FLTPRINT DD SYSOUT=*
//FLTINPUT DD *
*OPTIONS DUMPREC=V,HITS=ONLY
+INCLUDE COND=(SMF80RTY,*,*,EQ,50)
//
Access list based on SMF records: