Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

last execution time of program

Former Member
0 Kudos

how to find the last execution time of program . I have tried using STAT but not able to find out .Thanks.

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

I got the same issue once .. I created a Ztable and added the fields require dthe last execution time and used it accordingly..