MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SMF 80...

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
raj051076
Beginner


Joined: 05 Dec 2002
Posts: 64
Topics: 21

PostPosted: Tue Jul 19, 2016 5:40 am    Post subject: SMF 80... Reply with quote

I tried my best to read and find a solution myself which I thought I will share. But I am stuck:(

I am trying to extract information from SMF80DTA to get the resource name but could not find out the right way to do it. I have read the manuals and understood that I need to take the base offset from SMF80RL2(which I did) for the relocation section. But then how do I parse the relocation section? Any help with this will be much appreciated. I am trying to create a RACF event log report from this data

Thanks
Rajib
_________________
Rajib
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue Jul 19, 2016 10:57 am    Post subject: Re: SMF 80... Reply with quote

raj051076 wrote:
I tried my best to read and find a solution myself which I thought I will share. But I am stuck:(

I am trying to extract information from SMF80DTA to get the resource name but could not find out the right way to do it. I have read the manuals and understood that I need to take the base offset from SMF80RL2(which I did) for the relocation section. But then how do I parse the relocation section? Any help with this will be much appreciated. I am trying to create a RACF event log report from this data

Thanks
Rajib


Rajib,

SMF80DTA is based off the offset that is stored in SMF80REL and NOT SMF80RL2. Resource name is the first field in the SMF80DTA.

Secondly I am not even sure as to why you want to re-invent the wheel when there are RACF reporter utilities which would generate the reports for you.

Check out RACF Security Server Auditor's Guide for for samples of RACF Report Writer

Something like this

The RACF report writer

Sample RACFRW CONTROL Report statements

Sample job
Code:

//STEP0100 EXEC PGM=IFASMFDP                                         
//SYSPRINT DD  SYSOUT=*                                               
//SYSUDUMP DD  SYSOUT=*                                               
//SYSUT1   DD  DISP=SHR,DSN=Your Input SMF DSN                 
//SYSUT2   DD  DSN=&&TYPE80,DISP=(NEW,PASS),                         
//             UNIT=(SYSDA,4),SPACE=(CYL,(100,50),RLSE)               
//*                                                                   
//SYSIN    DD   *                                                     
    INDD(SYSUT1,OPTIONS(DUMP))                                       
    OUTDD(SYSUT2,TYPE(80))                                           
/*                                                                   
//********************************************************************
//**  GENERATE THE REPORT FOR VIOLATIONS                            **
//********************************************************************
//STEP0200 EXEC PGM=IKJEFT01                                         
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(40,10),RLSE)                     
//SYSPRINT DD SYSOUT=*                                               
//SYSTSPRT DD SYSOUT=*                                               
//RSMFIN   DD DISP=(SHR,PASS,DELETE),DSN=&&TYPE80                     
//SYSTSIN  DD *                                                       
  RACFRW TITLE('RACF REPORTS') GENSUM                                 
  SELECT VIOLATIONS                                                   
  LIST TITLE('ACCESS VIOLATIONS SUMMARY REPORT')                     
  SUMMARY RESOURCE BY(USER)                                           
  END                                 
//*

_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group