IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SMF Records


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 8798
Location: Welsh Wales

PostPosted: Fri Jun 26, 2009 12:36 pm
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
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: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 26, 2009 4:51 pm
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
No new posts Filter records where condition is in ... SYNCSORT 6
Search our Forums:


Back to Top