Lizette Koehler wrote:

>I am looking for a simple process that will give me
>  Date       UCB     #count   Logrec Entry
>2013-05-21   1A23      226     OBR (LONG)

>Information.  Is there something that will do this?  I just need tallies.  
>Maybe time if I want to graph it over a 24 hour period.

Hmmm. I tried out EREP with SHORT=Y for TYPE=O, no luck.

Perhaps you can try out TYPE=O, with EVENT=Y on 24 hours intervals. I see 
summaries, but that is per CPU.

You can extract the report easily because everything is neatly tabular.

>I can run EREP to get logrec output but then would need to massage the data to 
>create the desired report.
>I have MXG/SAS, REXX, CA Vantage.

SAS and REXX can parse out EVENT report easily if you strip out headers of 
course first.

>If I build, would assembler be the best (performance/ease of maintenance) or 
>REXX.  I could also do cobol but a bit rusty.

REXX is easy. Half a midday work if pressed by management :-D
COBOL is Ok, you will just get tired of several MOVE statements... ;-)
Assembler is nice exercise. That will take me a few days or a week, but I'm too 
busy... ;-)

Use SUBSTR for each variable in a loop from output line 1 to last or use PARSE 
like this:

PARSE VALUE LIST.J  WITH HOUR MINUTE SEC HH .... etc.

Then you do a count of CUA. Just use a STEM variable where you can add a new 
CUA if found and it is not already added. After that you can just list your 
STEM variable (list of array elements).

Alternatively use OCCUR or COUNT in DFSORT/ICETOOL on CUA column.

HTH!

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to