Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SMF Records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Heinrichvg

New User


Joined: 30 Oct 2006
Posts: 6
Location: South Africa

PostPosted: Fri Jun 26, 2009 12:11 pm    Post subject: SMF Records
Reply with quote

OK here is what I need to do. I need to pull out all the abended jobs as well as the total jobs that ran for the month.

Here is my JCL Example but this is for all the smf records.

Code:
//TFSHVG01  JOB (TFSHVG),'COMPRESS',CLASS=D,MSGCLASS=X,                 
 //          NOTIFY=&SYSUID                                             
 //STEP0001 EXEC PGM=IFASMFDP                                           
 //*****************************************************************     
 //** IN -- INPUT SMF DATASET FOR SPECIFIC SYSTEM                 **     
 //** OUT --- OUTPUT DATASET FOR SPECIFIC SYSTEM                  **     
 //** TYPE --- 6,21,30,70,72,74 AND 75 RECORDS                    **     
 //*****************************************************************     
 //IN   DD DISP=SHR,DSN=SYSMTH.ITCL.ACCUM.DATA(-2)                       
 //     DD DISP=SHR,DSN=SYSMTH.ITCL.ACCUM.DATA(-1)                       
 //OUT  DD DSN=TFSHVG.ITCL.COMPASS.SMFALL.DATA1,                         
 //        DISP=(NEW,CATLG,CATLG),                                       
 //        SPACE=(CYL,(500,150)),                                       
 //        DCB=(RECFM=VBS,LRECL=32760,BLKSIZE=27998),                   
 //        VOL=SER=SHRF03                                               
 //SYSPRINT DD   SYSOUT=*                                               
 //SYSIN    DD   *                                                       
  INDD(IN,OPTIONS(DUMP))                     
 OUTDD(OUT,TYPE(6,21,30,70,72,74,75))         
 DATE(2009141,2009171)     



Where do I need to change and what do I need to change. Please help.

Thanks in advance
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 26, 2009 12:36 pm    Post subject:
Reply with quote

All of the information that you need should be contained in the type 30 SMF records.

Once you have extracted them you will need to write a program to interpret the records to extract the information.

If you have a performance / capacity planning group it is quite likely that they have already processed the records into a SAS database, and may already produce the information that you require. If they have not produced the report that you want it may be easier for them to do it, or failing that they can tell you exactly what SAS dataset to access to generate the report yopurself.

Click HERE to read about SMF records
Back to top
View user's profile Send private message
Heinrichvg

New User


Joined: 30 Oct 2006
Posts: 6
Location: South Africa

PostPosted: Fri Jun 26, 2009 12:39 pm    Post subject:
Reply with quote

Thanks for the reply, will run smf on type 30 and see what I get.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7999
Location: Bellevue, IA

PostPosted: Fri Jun 26, 2009 4:51 pm    Post subject:
Reply with quote

When you read expat's link on SMF data, pay particular attention to the interval processing used with type 30 records. You can easily over count jobs and abends unless you handle the type 30 subtypes correctly.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Inserting records based on conditions vickey_dw DFSORT/ICETOOL 9 Wed Feb 22, 2017 1:33 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us