01-29-2008 11:01 PM
how to find the last execution time of program . I have tried using STAT but not able to find out .Thanks.
01-30-2008 12:59 AM
Nitin,
Unfortunately...The STAT is the only place that holds data on when which programs are executed. And it is indeed limited to a certain date. To get what you want, you have two options:
Have the basic-guy extend the period for which you need the data. Disadvantage is that the table will become very large (couple of 10s GB's) so he will not like that.
Modify the program, RSSTAT00 into ZRSSTAT00 and modify corresponding.
so that it adminstrates in some way when it is run. Basically you are then building your own administration tool.
If you are only interested in z programs, you should write a log to a bespoke table within each program
or actually better, write to the application log
These are no direct solutions, but the only way to get what you want.
HTH
VB
01-30-2008 1:11 AM
I got the same issue once .. I created a Ztable and added the fields require dthe last execution time and used it accordingly..