View previous topic :: View next topic
|
Author |
Message |
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
How can I Retrieve the Previous RUNDATE of A JOB?
For Example a Job RUN on Yesterday I need Yesterday Date if It run on day before Yesterday I need that date.
Can it be possible by reading SYSOUT of that JOB? Any other solutions?
Thanks
Shrivatsa |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Are you doing this through a program? If you have access to the JOBLOG from the prior run you could find a date there in the messages.
Also, SORT can generate the current date in a variety of formats. Add a step to the job to store the date in a file and then read it next time before storing a new date. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Logically, I'd think that this information would be retrieved from the logs of the scheduling system, the syslogs, or some other logging data, the JES spool, or a repository (Mobius or SAR). What's not clear to me yet is where does the O/P intened to retrieve this information from? |
|
Back to top |
|
|
|