ERBSCAN / ERBSHOW - A Parameter You Might Not Know
MartinPacker 11000094DH Visits (4294)
Very few people spend as much time as I do down in the guts of individual SMF records. But for those who do ERBSCAN / ERBSHOW is an invaluable tool...
(Actually ERBSHOW knows about a few other record types.)
If, instead of typing "ERBSHOW nnnn" you type "ERBSHOW nnnn X" you get a better layout and more formatting...
Some key fields in the Product Section are translated.
SMF Type 70 Subtype 1 (CPU) records have two section types for PR/SM. One per LPAR (whether active or inactive) and one per logical engine. It's a nuisance to work out which logical engine section belongs to which LPAR. The extra "X" parameter resequences things so that the logical engine sections for an LPAR immediately follow the section for the LPAR itself. Neat!
Thanks to Matthias Gubitz of RMF Development for sharing this with me. He mentioned it when I started going "wouldn't it be nice if ERBSCAN and ERBSHOW..."
Actually, I took a look at the ERBSCAN / ERBSHOW code. They are a pair of REXX execs that sit in SYS1.SERBCLS. So I copied them into a CLIST library ahead of SYS1.SERBCLS for my TSO / ISPF userid. Then I started to fiddle with the code. It was VERY easy to understand it to the point where I could straightforwardly format an additional field in the record - the Sysplex name.
Modifying the code is, of course, completely unsupported. So I'm not sure I can recommend it. But I do hope to modify it some more - to make job easier. And if I do I may try and give my changes back to RMF Development.
So, while I'm in the code, are there any enhancements to ERBSCAN / ERBSHOW that you would like to see? I can't promise anything, of course. But I'm motivated to work on useful enhancements.
And, no, I don't use ERBSCAN / ERBSHOW instead of serious performance analysis tools. But as the developer of some of these I often need to dump raw records, particularly if I'm trying to trouble shoot or extend our code to map additional fields. I appreciate not a lot of people are in this position. :-)