IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Previous RUNDATE of a JOB


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 174
Location: Bangalore

PostPosted: Thu Feb 28, 2008 3:26 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Feb 28, 2008 7:38 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Feb 28, 2008 7:51 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to extract the data for current y... DFSORT/ICETOOL 8
No new posts To get previous month from current ti... SYNCSORT 7
No new posts Write a current record plus previous ... DFSORT/ICETOOL 4
No new posts How to append Previous date into a S... JCL & VSAM 2
No new posts Execute step regardless of previous s... JCL & VSAM 2
Search our Forums:

Back to Top