How can SMF records be produced for tasks and transactions running under IDMS?

Document ID : KB000026439
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

SMF records are required for some reporting tools; how can these be produced for tasks and transactions running under IDMS?

Answer:

IDMS will produce job level SMF records; but does not automatically produce records at the task and transaction level. However, if you have the CA IDMS Performance Monitor installed (Perfmon), you can update the parameters in the #PMOPT macro, 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 you also specify a value for SMFRCID, or let it default to 230. This dictates the SMF user record ID that will appear in the SMF records recorded by Perfmon.

Some applications that report on SMF records require Type 4 or Type 30 records. To produce Application Monitor data in those SMF record formats, specify SMFTYP4=Yes or SMFTYP30=Yes, respectively. These parameters are independent of one another; you can specify either or both, depending on your reporting needs.

In order to produce an input file from your SMF file to use for Perfmon reports you will need to run an extract utility PMSMFEX. PMSMFEX can also be used to create archived files of the SMF data.

Additional Information:

Details for executing PMSMFEX, other PMOPT parameters, and record layouts for the SMF records can be found in the Performance Monitor System Administration manual.