Can we process SMF recordsin DFSort?

IBM's Sort Product, ICETOOL, ICEMAN and ICEGENER.
Previous topicNext topic

Topic Author
Sabari Sudha
New Member
Posts: 5
Joined: Sun Mar 27, 2016 2:54 pm

Can we process SMF recordsin DFSort?

Post by Sabari Sudha » Tue Oct 04, 2016 11:26 am

Hi,

I have been working on to build a DFSORT and/or ICETOOL utility to process SMF records. Specifically, I am thinking to process SMF30 records and generate a report, just a simple report, having job name, total CPU time and EXCP count etc. to start with.

Can someone please help me out on this or give me starting point on which I can start. Thanks for any help.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Can we process SMF recordsin DFSort?

Post by Robert Sample » Tue Oct 04, 2016 6:45 pm

Google is your friend. Googling dfsort smf 30 returns about 20,200 hits and some of them appear to have reports already built that could help you.




Topic Author
Sabari Sudha
New Member
Posts: 5
Joined: Sun Mar 27, 2016 2:54 pm

Re: Can we process SMF recordsin DFSort?

Post by Sabari Sudha » Fri Oct 07, 2016 12:35 pm

Hi,

I could get the references from search at home PC. This might help some one:

Code: Select all

//STEP1  EXEC  PGM=ICETOOL
//SYMNAMES DD DISP=SHR,DSN=SYS1.MACLIB(EDGSMFSY)   SYMBOLS
//TOOLMSG  DD SYSOUT=*   ICETOOL MESSAGES
//DFSMSG   DD SYSOUT=*   DFSORT  MESSAGES
//RAWSMF   DD DSN=ACCT.SJFEMVSA.D921102.T230004,DISP=SHR
//RMMV     DD DSN=&&TEMPV,REFDD=*.RAWSMF,SPACE=(TRK,(75,30)) 
//VREPT DD SYSOUT=*
//TOOLIN   DD *          CONTROL STATEMENTS
* FIND THE RMM SMF AUDIT 'VOLUME' RECORDS
  COPY FROM(RAWSMF) TO(RMMV) USING(SMFV)
* DISPLAY VARIOUS FIELDS FROM THE SMF HEADER AND VOLUME SECTION
  DISPLAY FROM(RMMV) LIST(VREPT) -
     TITLE('DFSMSrmm - SMF Audit Records') DATE TIME PAGE -
     BLANK -
*    SMF HEADER FIELDS
     HEADER('TIME') ON(SMFADTME,HEX) -
     HEADER('DATE') ON(SMFADDTE) -
     HEADER('SYS')  ON(SMFADSID) -
     HEADER('USER') ON(SMFADUID) -
     HEADER('ACT')  ON(SMFADACT) -
*    VOLUME SECTION FIELDS
     HEADER('VOLUME')   ON(MVVOLSER)  -
     HEADER('CREATE')   ON(MVCRDATE)  -
     HEADER('LASTCH')   ON(MVLCDATE)  -
     HEADER('LASTUSER') ON(MVLCUID) -
     HEADER('LASTSYS')  ON(MVLCSID) -
     HEADER('LASTUSCH') ON(MVUCDATE)
//SMFVCNTL DD *
* The X'FC' is the SMF record number specified to RMM SMFAUD
* The X'FC' is record number 252 - Change it to your record number
  INCLUDE COND=(SMFADRTY,EQ,X'FC',
                AND,MVTYPE,EQ,MVTYPEID)
  OPTION VLSHRT
/*



Previous topicNext topic

Return to “IBM DFSort, ICETOOL, ICEMAN, ICEGENER.”