Report From SMF Data
To report from SMF data, execute the sample procedure smfman1.fex, provided under home/catalog (DDNAME EDAHFEX for a PDS Deployment server).
You will be prompted for the DSN of the SMF VSAM data set from which you want to report, and the smf_recno value used to produce the SMF records.
The following is a listing of smfman1.fex:
DYNAM ALLOC FI SMFVSAM DSN &SMFDSN.Please provide SMF VSAM DSN. SHR REU DEFINE FILE SMFVSAM CPU/D8.2 = SMFOFCPU / 100 ; USER/A20 = SMFOFUID ; EXCPS/I6 = SMFOFEXC ; TIME/D9.2 = SMFOFLTM / 100 ; HR/I2 = SMFOFTME / 360000 ; MIN/I2 = (SMFOFTME - (HR*360000)) / 6000 ; TOD/A5 = EDIT(HR) | ':' | EDIT(MIN) ; END TABLE FILE SMFVSAM PRINT USER CPU EXCPS TIME TOD WHERE SMFOFRTY EQ &SMFNUM.Please provide SMF number(type) for report. END