|
Sample RACF Event Report from SMF 80 Records
It reads as input the SMF file and selects just the type 80 (RACF Processing) records. (See SMF 80 record layout.) We print a report showing each RACF processing event, with a description of what the event was, and the outcome. Note that the actual SMF record just contains codes for the event and its status. Our Spectrum SMF Writer definitions include code to expand those numeric values into descriptive texts. Spectrum SMF Writer also uses a special exit to parse the variably formatted "relocation" fields at the end of the SMF 80 record. This lets us easily print such hard-to-access details as resource name (DSNAME), authority requested and authority allowed. These events are grouped by unique JOB and printed in JOB/timestamp order. All of this with just a few lines of code!
These Spectrum SMF Writer Statements:INPUT: SMF80 INCLUDEIF: SMF80RTY = 80 COLUMNS: SMF80JBN('JOBNAME') SMF80TME SMF80_EVENT_NAME(20 'SMF80 EVENT NAME') SMF80_EVENT_QUAL_DESC(18 'EVENT QUALIFIER') SMF80USR('USER') SMF80GRP('GROUP') SMF80DTA_1('RESOURCE|NAME' 16) SMF80DTA_3_WORD("AUTH|REQUEST") SMF80DTA_4_WORD("AUTH|ALLOWED") SMF80DTA_17('CLASS') SORT: SMF80_JOBID BREAK: SMF80_JOBID NOTOTALS SPACE(1) TITLE: #DATE #TIME /'RACF EVENT LOG BY JOB ON' SMF80DTE / 'PAGE' #PAGE
Produce This SMF Report:07/04/13 4:53 AM RACF EVENT LOG BY JOB ON 07/24/06 PAGE 1 RESOURCE AUTH AUTH JOBNAME SMF80TME SMF80 EVENT NAME EVENT QUALIFIER USER GROUP NAME REQUEST ALLOWED CLASS ________ ___________ ____________________ __________________ ________ ________ ________________ _________ _______ ______ CICS3A8A 12:00:03.85 JOB INITIATION / TSO Successful RACINIT CICSUSER SYS1 CONTROL CONTROL GARRETY 11:52:12.95 RESOURCE ACCESS Successful access GARRETY GEOTEAM MVS.STOP.STC.WT4 UPDATE CONTROL OPERCM GARRETY 11:52:18.39 RESOURCE ACCESS Successful access GARRETY GEOTEAM MVS.VARY.WLM IMSREPLY 11:30:01.32 RESOURCE ACCESS Successful access IMSUSER SYS1 MVS.DISPLAY.R JES2 11:46:09.09 RESOURCE ACCESS Successful access SETUP SYS1 MVS.MODIFY.STC.F UPDATE ALTER OPERCM JES2 11:45:08.70 RESOURCE ACCESS Successful access SETUP SYS1 MVS.MODIFY.STC.F UPDATE ALTER OPERCM JES2 11:52:15.32 RESOURCE ACCESS Successful access SETUP SYS1 MVS.MODIFY.STC.F UPDATE ALTER OPERCM NETX123 11:42:11.97 RESOURCE ACCESS Successful access SETUP SYS1 MVS.CONTROL.E NETX123 11:42:12.00 RESOURCE ACCESS Successful access SETUP SYS1 MVS.CONTROL.S NETX123 11:32:58.74 RESOURCE ACCESS Successful access SETUP SYS1 MVS.DISPLAY.CONS READ ALTER OPERCM NETX123 11:33:35.44 RESOURCE ACCESS Successful access SETUP SYS1 MVS.DISPLAY.OMVS READ ALTER OPERCM NETX123 11:56:35.35 RESOURCE ACCESS Successful access SETUP SYS1 MVS.MODIFY.STC.Z UPDATE ALTER OPERCM USER031 11:30:10.60 CHECK ACCESS TO DIRE Not authorized USER031 OEDFLTG CONTROL CONTROL DIRACC USER031 11:30:10.60 CHECK ACCESS TO DIRE Not authorized USER031 OEDFLTG CONTROL CONTROL DIRACC USER031 11:30:26.92 CHECK ACCESS TO DIRE Not authorized USER031 OEDFLTG CONTROL CONTROL DIRACC USER048 11:36:19.20 CHECK ACCESS TO FILE Not authorized USER048 OEDFLTG CONTROL CONTROL FSOBJ USER097 11:30:39.32 CHECK ACCESS TO FILE Not authorized USER097 OEDFLTG CONTROL CONTROL FSOBJ XH4AMGS 11:47:18.81 JOB INITIATION / TSO Password not valid WITADM4 WITADMGP CONTROL CONTROL XH7ADM 11:35:45.41 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC XH7ADM 11:35:45.41 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC XH7ADM 11:55:21.94 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC XH7ADM 11:55:21.94 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC XH7ADM 11:32:43.57 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC XH7ADM 11:32:43.57 DIRECTORY SEARCH Not authorized XH7ADM WT6CFG CONTROL CONTROL DIRSRC ...
| ||||||||||||||||||||||||||||||||||||||||
Copyright 2024.
Pacific Systems Group. All rights reserved. |
Home |
Products |
Prices |
Documentation |
30-Day Trials |
Customer Reviews |
Company
| FAQ
| Sample Reports
| SMF Records
|