Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Need DB2 query to fetch previous row ! Chandan1993 DB2 10 Sat Jun 03, 2017 10:43 am
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us