HP3000-L Archives

December 2003, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Emerson, Tom" <[log in to unmask]>
Reply To:
Emerson, Tom
Date:
Fri, 5 Dec 2003 11:58:43 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
> -----Original Message-----
> From: Ron Horner [mailto:[log in to unmask]]
> 
> In logtool, you could to a SUMMARIZE ;log=0000/9999 [...]
> If the file does not exist, you just get a warning message.
> -----Original Message-----
> Bob McGregor
> 
> But what I'm looking to do is schedule a job say on Saturday 
> night to go through the existing logs for the summarize output so we at 
> least see if there are increases in types of records.

Hmmm... I get the impression that Ron's answer is "almost", [and will certainly work for the first week], but for the second week you want to exclude what you "processed" last week, correct?

It may be doable with a LISTFILE;SELEQ=[...] construct, but I suspect an MPEX selection will be much faster/easier:

   %listf [log in to unmask](credate>today-8),6 > somefile
   %input firstlogfile < somefile
   %setvar firstlognum rht(token(firstlogfile,'.'),4)
   %runcreate logtool.pub.sys
   %runinput SUMMARIZE log=!FIRSTLOGNUM/9999
   %runinput exit
   %runactivate

[runcreate/input/activate is cool...]

the "rht(token..." stuff pulls the filename out of a fully-qualified file, then returns the right-most 4 characters (digits) to the variable.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2