Use the following sample JCL, which is also available in the PowerExchange RUNLIB library as member DTLSMFRP:
//SMF EXEC PGM=DTLSMFRP,PARM='0,128,SYSOUT=A' <-- 'Report number, SMF record type, SYSOUT Class'
//STEPLIB DD DSNAME=
your
.PWX.
load
,DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
//SMFFILE DD DISP=SHR,DSN=
your
.SMF.G
nnnn
V00 <-- Starting SMF generation data set
// DD DISP=SHR,DSN= DSN=
your
.SMF.G
nnnn
V00 <-- +1 Next SMF generation data set
// ... <-- +2 to +(
x
-1) generation data sets
// DD DISP=SHR,DSN= DSN=
your
.SMF.G
nnnx
V00 <-- Ending SMF data set
In the EXEC statement, specify the reporting program name of DTLSMFRP, which this job step will execute. The PARM option specifies the report number and SMF record type.
The
report number
can be one of the following values:
0
. Generates an SMF statistics report. The SMF record content determines the report content.
1
. Generates a formatted dump of each SMF block in the input data set.
2
. Generates a formatted dump of each SMF record in the input data set.
3
. Generates a formatted dump of each SMF section for records of the specified record type.
4
. Generates a list of all SMF data elements found in each SMF record of the specified record type.
Use option 0 to generate reports.
Options 1 through 4 are primarily for diagnostic use by Informatica technical staff. Option 4 can also be used by third-party SMF reporting vendors to determine the SMF record layouts that the PowerExchange Listener produces.
The
SMF record type
is the numeric identifier for the record type, as specified in a STATS statement in the DBMOVER member. This value can be in the range of 128 through 255.
The STATS statement in the DBMOVER configuration file for the PowerExchange Listener specifies the SMF record type that is written by the PowerExchange Listener. To create reports on behalf of the PowerExchange Listener, the DTLSMFRP report parameter SMF record type must match the SMF record type identified in the PowerExchange Listener STATS statement.
The optional SYSOUT parameter specifies where to route the reports. For example, to route the reports to SYSOUT class A, specify:
//SMF EXEC PGM=DTLSMFRP,PARM='0,252,SYSOUT=A'
In the SMFFILE DD statement, provide a concatenated list of all SMF archived data sets that contain the PowerExchange-written SMF records to use for reporting. These archived data sets are typically generation data sets in a generation data group (GDG).