We are in the automation of extracting log from spool and we will find for a particular abend code from the log file. We have coded rexx for doing this and it is working fine now.
My question is ..
How to execute automatically this REXX for a particular period of time say every 10 mins?
Reading the log every 10 minutes?? Most of the log will be the same. You will likely read the same abend instance multiple times. You need to keep track of which you already have processed. Or keep track of what time intervals you have already processed.
Joined: 23 Nov 2006 Posts: 8724 Location: 221 B Baker St
Hello,
Quote:
I have read the same log repeatedly say for every 10 mins.Is this possible? If so kindly guide in this regard.
If you have done it, it must be possible. . .
What kind of guidance are you looking for? Obviously, there is something that i do not understand.
One thought that comes to mind is that when you read the log, keep track of the last time read and on the next pass, ignore any entries up to that time.
Is there some reason to create a "report" that is most likely already provided by other tools on your system?