Running SMF Director 12.6.
We have a CASFXSMF procedure to extract SMF records. There's a new requirement to now extract only SMF data rec type 70 (subtype 1,2) and type 89 on a daily basis as part of SCRT report.
Can you provide sample JCL that will extract only SMF data rec type 70 (subtype 1,2) and type 89 and route the output to the GDG.
What you need is a DD statement that you write the SMF Data to, which you probably have already in the JCL you use to run your CASFXSMF PROC. It can be a GDG or whatever you would like.
What you need is an EXTRACT statement like this:
EXTRACT SID(smf-id) TODD(ddname) SELECT(70.1, 70.2, 89) SCRT(nn) .
This statement will allow you to extract the data needed for SCRT reporting for the LPARs with the listed SMF IDs in the SID operand. If you want to do it for all of your configured systems, you can replace the SID operand with ALL.
The SCRT operand is a relative date/time operand in that it will calculate the date/time range based on the current date for the length of one SCRT billing time period (the second of the months to the first of the next month). The "nn" operand in the SCRT operand is the number of months to go back.
For the most recently completed SCRT interval, you should use SCRT(1).
SCRT(0) will produce a time range for the current SCRT period and will be incomplete.
If you want to go back further, you can code previous months up to a value of 99.