Thanks for the article. I will read it just to see what it suggests.


At 18:28 -0700 on 02/04/2016, Lizette Koehler wrote about Re: Count smf type 30-5 records:

There is an article I found that provides information on using REXX to handle
SMF Records. Looks like you might be able to use the DATE function in REXX to do
what you want.  Just a thought.

http://ibmsystemsmag.com/mainframe/tipstechniques/applicationdevelopment/rexx_sm
f_part1/

http://www.ibmsystemsmag.com/mainframe/tipstechniques/applicationdevelopment/rex
x_smf_part2/

Lizette

 -----Original Message-----
 From: IBM Mainframe Discussion List [mailto:[email protected]] On
 Behalf Of Robert A. Rosenberg
 Sent: Thursday, February 04, 2016 2:52 PM
 To: [email protected]
 Subject: Re: Count smf type 30-5 records

At 13:16 -0700 on 02/04/2016, Sri h Kolusu wrote about Re: Count smf type 30-5
 records:

 >If you want DFSORT to extract the values from Raw SMF data then what
 >fields correspond to Userid, Jobname(SMF30JBN ??) and Date from the
 >SMF-30 Record mapping? Remember the raw smf have variable length
 >segments where the offset and the length are stored in the record and
 >you need dynamically access the information which would require an
 >addition pass of data.

 Due to the variable length segment issue, just using Sort Cards to map the
file is not going to fly well. IMO, the simplest way of extracting the needed fields is to just have someone who is capable of writing simple Assembler code
 to just write a program to extract the fields and output a simple file with
 them. This file can then be sent through the sort which consolidates and
 counts them to output a report whenever a field changes.

 I know that you are looking for a way to have sort handle all the work, but
 doing the record selection/parsing is better delegated to something that can
 locate the data. Back in the when I was still coding, this type of task was
 one that I would toss off as a Quick&Dirty project in an hour or two.


----------------------------------------------------------------------
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