SMF records are required for some reporting tools. How can these be produced for tasks and transactions running under IDMS?
Release: All supported releases.
IDMS will produce job level SMF records, but does not automatically produce records at the task and transaction level. However, if IDMS Performance Monitor is installed (PerfMon), the parameters in the #PMOPT macro can be specified, so that the application monitor and interval monitor statistics will be generated and written to SMF.
To write Application Monitor data to SMF, specify AMSMF=YES in the #PMOPT macro.
To write Interval Monitor data to SMF, specify IMSMF=YES in the #PMOPT macro.
Setting either AMSMF or IMSMF (or both) to YES requires that a value for SMFRCID be specified, or let it default to 230. This dictates the SMF user record ID that will appear in the SMF records recorded by PerfMon.
Some products external to IDMS (e.g. SAS, MICS) that report on SMF records require Type 4 or Type 30 records. To produce data in those SMF record formats, specify SMFTYP4=YES and/or SMFTYP30=YES, respectively. These parameters are independent of one another - either or both can be specified, depending on reporting needs.
In order to produce an input file from your SMF file to use for PerfMon reports, use PMSMFEX. PMSMFEX can also be used to create archived files of the SMF data.