How to run Performance Monitor reports from SMF.
Release : All supported releases.
Component: Performance Monitor.
Performance Monitor statistics can be written to the IDMS-DC log or SMF for the purposes of reporting on them.
DC-LOG
To use the dc-log, set these parameters in #PMOPT:
AMDCLOG=YES,
AMSMF=NO,
IMDCLOG=YES,
IMSMF=NO,
and point SYS011 in the Performance Monitor report JCL to the archive log file. This is documented at Sample Job Streams For Running Reports.
SMF
To use SMF, change the #PMOPT parameters to this:
AMDCLOG=NO,
AMSMF=YES,
IMDCLOG=NO,
IMSMF=YES,
When using SMF, there are some extra JCL steps. First, a PMSMFEX culprit step must be run. This step must point SYS010 to the SMF output file*, and SYS020 to a new file which it will create. That new file must be used as the SYS011 file in the Performance Monitor report job which is otherwise unchanged.
Sample JCL for this process can be found at Using SMF to Archive Statistics (z/OS only).
* The source of the SMF output file is site-specific. Consult your system programmer for how to reference the SMF output.
Multiple CVs
Note that when using SMF for Performance Monitor statistics, the PMSMFEX step will return records for every CV on the LPAR that uses the SMFRCID number that is specified in the =MACRO 'PMSMFEX' (nnn) statement.
To restrict the data to one particular CV, the PMSMFEX source module must be modified. Follow the instructions documented under the sub-heading Using PMSMFEX to extract data for a specific CV or system at the bottom of Using SMF to Archive Statistics (z/OS only).
For example, if you want PMSMFEX to return only statistics from CV100 (with system number 100), then the following changes (in red) must be made:
007135 IF SMFHDCV# EQ X'0064' 150 $ WANT THIS 92-02-1008
00$136 IF SMFHDCV# EQ X'NNNN' 150 $ WANT THIS 92-02-1008
00$137 IF SMFHDCV# EQ X'NNNN' 150 $ WANT THIS 92-02-1008
00$138 IF SMFHDCV# EQ X'NNNN' 150 $ WANT THIS 92-02-1008
007139 DROP $ NOT THIS 92-02-1008
and
007235 IF SMFHDCV# EQ X'0064' 240 $ WANT THIS 92-02-1008
00$236 IF SMFHDCV# EQ X'NNNN' 240 $ WANT THIS 92-02-1008
00$237 IF SMFHDCV# EQ X'NNNN' 240 $ WANT THIS 92-02-1008
00$238 IF SMFHDCV# EQ X'NNNN' 240 $ WANT THIS 92-02-1008
007239 DROP $ NOT THIS 92-02-1008
This specification can also be made using the CV number.
007135 IF SMFHCV# EQ X'64' 150 $ WANT THIS PERF/53
00$136 IF SMFHCV# EQ X'NN' 150 $ WANT THIS PERF/53
00$137 IF SMFHCV# EQ X'NN' 150 $ WANT THIS PERF/53
00$138 IF SMFHCV# EQ X'NN' 150 $ WANT THIS PERF/53
007139 DROP $ NOT THIS PERF/53
and
007235 IF SMFHCV# EQ X'64' 240 $ WANT THIS PERF/53
00$236 IF SMFHCV# EQ X'NN' 240 $ WANT THIS PERF/53
00$237 IF SMFHCV# EQ X'NN' 240 $ WANT THIS PERF/53
00$238 IF SMFHCV# EQ X'NN' 240 $ WANT THIS PERF/53
007239 DROP $ NOT THIS PERF/53