Vernooij, CP (SPLXM) wrote:
>I believe I remember from posts that people are processing SMF records with
>DFSORT to produce reports.
Indeed, since Frank Yeager re-wrote DFSORT processing so you can directly use
date, time and other packed fields with easy ICETOOL keywords. With easy
arranging keywords, you can directly see on SYSOUT your SMF records on a VBS
dataset.
Like this showing the standard headers, other details removed so this is a
short example:
//SMF<any> EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//VLSHCNTL DD *
OPTION COPY,VLSHRT
INCLUDE COND=(6,1,BI,EQ,X'??')
/*
//RAWSMF DD DISP=SHR,DSN=<raw SMF data>
//SORTSMF DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(50,50,0))
//VREPT DD SYSOUT=*
//TOOLIN DD *
SORT FROM(RAWSMF) TO(SORTSMF) USING(VLSH)
DISPLAY FROM(SORTSMF) LIST(VREPT) -
HEADER('SMFTYPE') ON(6,1,BI) -
HEADER('DATE') ON(11,4,DT1,E'9999/99/99') -
HEADER('TIME') ON(7,4,TM1,E'99:99:99') -
HEADER('SYSTEM') ON(15,4,CH)
... etc ...
Groete / Greetings
Elardus Engelbrecht
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN