Hello everyone,
I like using ICETOOL , here's an example:
//SMF17 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//VLSHCNTL DD *
OPTION COPY,VLSHRT
INCLUDE COND=(6,1,BI,EQ,X'11')
/*
//RAWSMF DD DISP=SHR,DSN=DATASET.WITH.SMF.TYPE17 <=== adjust
//SORTSMF DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(50,50,0))
//VREPT DD SYSOUT=*
//TOOLIN DD * CONTROL STATEMENTS
SORT FROM(RAWSMF) TO(SORTSMF) USING(VLSH)
DISPLAY FROM(SORTSMF) LIST(VREPT) -
HEADER('SMFTYP') 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) -
HEADER('JOBNAME') ON(19,8,CH) -
HEADER('USERID') ON(35,8,CH) -
HEADER('DSN') ON(45,44,CH)
/*
It can be tailored to your needs. You only need to know the offsets of the
SMF-records .
Best regards Silvia
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN