As Guus kindly pointed out in a private email, SMF80JBN holds the jobname. I know, my synapses must have short-circuited, I meant to point out that the JOB NUMBER is missing. And no, that does not have an impact on the job tag mechanism.
Correcting the original post.
------------------------------
Rob van Hoboken
------------------------------
Original Message:
Sent: Tue May 27, 2025 03:55 AM
From: Rob van Hoboken
Subject: LEEF SMF14 Enrichment data missing
Just like I stated, SMF 30(1) does not show the completion code of the step or the elapsed time. SMF 30(5) shows both (field COMPLETION_CODE/COMPCODE and JOBELAPSED). At the time of this general recommendation, the aim was to reduce semi-duplicate records in output, and subtype 1 is clearly lacking in information.
On the other hand, when you code SELECT EVENT=RACINIT
both TYPE 80 EVENT=RACINIT and TYPE 30(1,5) are reported.
SMF 80 does not hold a JOBNAME value, so it does not contribute to the JOB TAG cache. If you need the JOBNAME in your SMF 80 based reports, in addition to the USERID, you must have include SMF 30(1).
>As to SMF type 42, only subtype 6 is relevant to the job tag mechanism.
Very true, unfortunately CKQEXSMF is unwilling to use subtypes for SMF 42:
Subtype
Specifies the SMF-record subtype that must be selected. The subtype is only used for SMF-record types 30, 80, 92, and ACF2. For all other SMF-record types, the subtype is ignored.
------------------------------
Rob van Hoboken
Original Message:
Sent: Tue May 27, 2025 03:31 AM
From: Jeroen Tiggelman
Subject: LEEF SMF14 Enrichment data missing
Hi Rob,
Why would 30(5) be the general recommendation?
Note that some types, such as type 80, are not cached, and will only get the information completed when it is seen before the record is encountered.
As to SMF type 42, only subtype 6 is relevant to the job tag mechanism.
Regards,
------------------------------
Jeroen Tiggelman
IBM - Software Development Manager IBM Security zSecure
Delft
Original Message:
Sent: Tue May 27, 2025 03:20 AM
From: Rob van Hoboken
Subject: LEEF SMF14 Enrichment data missing
Glad to be of help.
You may want to limit subtypes for SMF type 30, the interval recording and resource reporting subtypes may result in large records, i.e., heavy buffer usage. You could limit your selection to subtype 5 (job/step termination) which has the return code, or subtype 1, which shows the actual logon time but not the session duration. The general recommendation is 30(5), but that may confuse the job tag mechanism, so:
addsmf(rectype(30) subtype(1))
addsmf(rectype(30) subtype(5))
SMF 42 can give you update reporting for PDSE (and PDS) at the member level.
If you're interested in VSAM data set activity, check the record type 60:69.
Telnet and FTP access to z/OS, look at SMF type 119.
------------------------------
Rob van Hoboken
------------------------------