For correct addressing just read the Header/Self-defining Section which
contains the triplet fields (offset/length/number) and use the right
offsets. You should also read the articles by George Ng in IBM Systems
Magazine (the links are in the book). His example deals with SMF30.

Greetings Wolfgang


2014-02-03 Elardus Engelbrecht <[email protected]>:

> Wolfgang Schuech wrote:
>
> >Last week I started a little bookproject at wikibooks:
> http://en.wikibooks.org/wiki/SMF_Records
>
> Thanks. Looking promising!
>
> >The book is inspired by a series of articles in IBM Systems Magazine in
> spring 2013 where George Ng describes how REXX can be used to read the SMF
> record fields. At the moment the book give two examples to extract values
> from the relative simple SMF19 record and the more difficult SMF70 record.
> But extracting values of the SMF record fields is only one part of writing
> reports.
>
> Not too bad, perhaps if I have time, I want to play with SMF23, SMF04,
> SMF05, SMF30.5, SMF42 and SMF89.
>
> I have done these records for processing in Assembler, COBOL, ICETOOL, but
> not with REXX because REXX is expensive in CPU, storage and overhead. And
> slow. No I don't have compiled REXX.
>
> >The intention of the book is to create a formula collection to derive
> more content from the SMF record fields. At wikibooks we have the
> possibility to do this in a collaborativ way. Therefore I would be really
> be happy to receive your and feedback and help to the book. Please get an
> account at wikibooks and feel free help editing.
>
> When I have time, I will try to contribute with mapping for records which
> are NOT varying with length...
>
> I'm just wondering how you can handle those segments in SMF30, for
> example, in REXX?
>
> Groete / Greetings
> Elardus Engelbrecht
>
> ----------------------------------------------------------------------
> 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