Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Previous RUNDATE of a JOB

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

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Thu Feb 28, 2008 3:26 pm    Post subject: Previous RUNDATE of a JOB
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    Post subject:
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

Moderator Team Head


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

PostPosted: Thu Feb 28, 2008 7:51 pm    Post subject: Reply to: Previous RUNDATE of a JOB
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to get previous month in SYMNAMES Suganya87 SYNCSORT 9 Fri Oct 28, 2016 1:37 pm
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am
No new posts Appending previous record SEQNUM valu... selvamsrinivasan85 DFSORT/ICETOOL 6 Fri Oct 16, 2015 2:09 pm
No new posts Find and replace YccyyMmm to previous... santosh_g DFSORT/ICETOOL 5 Fri Oct 09, 2015 1:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us