At 13:13 -0500 on 10/08/2013, Mark Zelden wrote about Re: Need to include ACF2 SMF 230 in SMFPRMxx?:

 >SMFPRMxx is a "suggestion" to SMF-record-writing components. SMF itself does
not filter based on SMFPRMxx. You can code SYS(NOTYPE(199)) and I can still
write a program that uses SMF(E)WTM to write type 199 records and they will
end up in your SMF datasets and/or logstream (subject to any IEFU8x exit).
What a well-behaved program *should* do, apparently (although this does not
seem to be well-documented) and apparently what ACF2 and every IBM product
do is query SMFRTEST to determine whether the shop wants its record type,
 >and adjust its logic accordingly.

This is news to me. I can't speak to the validity without writing my own program, but on the surface doesn't seem to agree with the description for SMFRTEST in the SMF manual. Pay attention to the wording in the last sentence.

5.8 SMFRTEST -- Testing record recording  

The SMFRTEST macro allows you to determine if a particular type, or subtype,
of a record is being recorded. Issue this macro before collecting data for a
particular record or subtype to avoid the overhead of data collection
if it is not written.

The wording is based on the assumption that the test will be done before an attempt to add the record to the SMF dataset and that the record will thus not be submitted if the result indicates that the record is not to be recorded. This does NOT however say that a submission of such a record will be rejected by SMF. The wording needs to be updated to mention testing before submitting since there is a difference between the records being blocked by SMF itself and the submitters not submitting due to the macro call results.

There is a subtle difference in the significance of that sentence. This is that it is worded as "Do not bother to do the collection since there WILL [not the correct (if submitters check before submitting) SHOULD] not be any records".

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to