Skip to Content
author's profile photo Former Member
Former Member

last execution time of program

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 01: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..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.