Somewhere in our (my team's not Sri Hari's) code base is a DFSORT job that 
counts the number of each subtype by minute - for SMF 30 and 7X. I've not 
done that much with it in practice - but it's a nice extension to Sri 
Hari's idea.

Note: "Subtype" should be at a fixed offset/position in the SMF record 
header. I'd consider it "quasi-architected" in that some record types play 
fast and loose with this. 30 and 7X DON'T.

Cheers, Martin

Martin Packer

zChampion, Systems Investigator & Performance Troubleshooter, IBM

+44-7802-245-584

email: [email protected]

Twitter / Facebook IDs: MartinPacker

Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker

Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/    or 
  
https://itunes.apple.com/gb/podcast/mainframe-performance-topics/id1127943573?mt=2


Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA



From:   Sri h Kolusu <[email protected]>
To:     [email protected]
Date:   20/04/2020 18:46
Subject:        [EXTERNAL] Re: Print/copy one record of each type/subtype
Sent by:        IBM Mainframe Discussion List <[email protected]>



Kekron,

Are you looking for a summary of subtypes for every smf record? I wrote an
ICETOOL job for Cheryl Watson's newsletter under "User Experiences and
Tips" which lists the count how many records it found of each type and
subtype and produce a little report saying something like:

TYPE   SUBTYPE         COUNT
----   -------   -----------
  30         1         18446
  30         2          2788
  30         3         49083
  30         4         49326
  30         5         19162
  30         6           210
  41         3            41
...

or

Do you need to write out the first record for each subtype? Let me know 
the
requiement and I will show you a way to get it done using DFSORT.

Thanks,
Kolusu
DFSORT Development
IBM Corporation

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




Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


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

Reply via email to