The
below job demonstrates two approaches to extracting SMF record types 70 to 79
from a weekly SMF dataset.
The goal is to compare the performance of the SORT utility and the IFASMFDP utility.
//SORTIN DD DISP=SHR,DSN=SMF.WEEKLY.FILE
//SORTOUT DD DSN=USERID.SMF7079.SORT,
// DISP=(NEW,CATLG,DELETE),
// DATACLAS=DCTLARGE,
// SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=VBS,BLKSIZE=0,LRECL=32760,DSORG=PS)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY,VLSHRT
INCLUDE COND=(06,1,CH,GE,X'46',AND, SMF TYPE 70
06,1,CH,LE,X'4F') SMF TYPE 79
//*
//IFASMFDP EXEC PGM=IFASMFDP
//SYSPRINT DD SYSOUT=*
//INDD1 DD DISP=SHR,DSN=SMF.WEEKLY.FILE
//OUTDD1 DD DSN=USERID.SMF7079.IFASMFDP,
// DISP=(NEW,CATLG,DELETE),
// DATACLAS=DCTLARGE,
// SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=VBS,BLKSIZE=0,LRECL=32760,DSORG=PS)
//SYSIN DD *
INDD(INDD1,OPTIONS(ALL))
OUTDD(OUTDD1,TYPE(70:79))
START(0000)
END(2359)
/*
Step |
EXCP |
Conn |
TCB Time |
Elapsed Time |
CPU Time |
SORT |
93,346 |
209K |
6.64 sec |
3:47.52 |
6.75 sec |
IFASMFDP |
1,403,000 |
308K |
12.09 sec |
6:40.17 |
16.16 sec |
- SORT completed in nearly half the time of IFASMFDP.
- CPU usage for IFASMFDP was more than double that of SORT.
- EXCP count (I/O operations) was significantly higher for IFASMFDP
Of course if you need complex SMF record extraction, you would need go with IFASMFDP.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.