Heinrichvg
New User
Joined: 30 Oct 2006 Posts: 6 Location: South Africa
|
|
|
|
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 |
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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. |
|