Ah! I interpreted the question of "how to code a program to do a programmatic 
query" and SMFRTEST is the answer to that.

If the question is "how would a human do an interactive query?" then yes, the 
answer is D SMF,O and learning to parse the output (as a human) is a learning 
experience of its own.

SMFRTEST is here:
https://www.ibm.com/docs/en/zos/2.4.0?topic=macros-smfrtest-testing-record-recording
 

D SMF is here:
https://www.ibm.com/docs/en/zos/2.4.0?topic=command-displaying-smf-data-smf 



Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Barry
Sent: Wednesday, May 11, 2022 10:29 AM
To: [email protected]
Subject: Re: Producing throwaway SMF?

On Wed, 11 May 2022 16:18:41 +0000, A T & T Management <[email protected]> 
wrote:

> Peter,
>    How would one go about doing a query of SMF if it is recording that record 
> number?
>
>Thank you,Scott
>
>    On Wednesday, May 11, 2022, 11:50:22 AM EDT, Peter Relson 
> <[email protected]> wrote:  
> 
> Do keep in mind that many SMF record producers query SMF to see if SMF is 
> being told to record their record and will bypass creating the record and 
> calling SMF if SMF is not recording it. No exit will get control if the 
> producer decides not to produce.
>
>I have no idea what CICS does.
>
>Peter Relson
>z/OS Core Technology Design
>

To the question posed about how to identify if an SMF record type is being 
recorded, on the particular z/OS LPAR, issue z/OS command: D SMF,O

Scott Barry
SBBTech LLC

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to