Troubleshooting channel accounting data
Checks to carry out if channel accounting SMF data is not being produced for channels.
Procedure
-
Check that we have STATCHL set, either at the queue manager or the channel level.
- A value of OFF at channel level means that data is not collected for this channel.
- A value of OFF at queue manager level means data is not collected for channels with STATCHL(QMGR).
- A value of NONE (only applicable at queue manager level) means data is not collected for all channels, regardless of their STATCHL setting.
- For client channels check that STATCHL is set at the queue manager level.
- For automatically defined cluster sender channels, check that the STATACLS is set.
- Issue the display trace command. You need TRACE(A) CLASS(4) enabled for channel accounting data to be collected.
-
If the trace is enabled, SMF data is written:
- On a timed interval - depending on the value of the STATIME system parameter. A value of zero means that the SMF statistics broadcast is used. Use the DIS SYSTEM command to display the value of STATIME.
- If the SET SYSTEM command is issued to change the value of the STATIME system parameter.
- When the CHINIT is shut down.
- If the STOP TRACE(A) CLASS(4) is issued, any accounting data is written out.
- SMF might hold the data in memory before writing it out to the SMF data sets or the SMF structure. Issue the MVS command D SMF,O and note the MAXDORM value. SMF can keep the data in memory for the MAXDORM period before writing it out.