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
 

 

Scheduling a job to start 5 min. after another job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
sreenivasreddyg

New User


Joined: 23 Apr 2005
Posts: 39
Location: delhi

PostPosted: Wed Jun 24, 2009 3:37 pm    Post subject: Scheduling a job to start 5 min. after another job
Reply with quote

I want to schedule a job such that it should run after the 5 minutes from the start of another job.

Suppose, if job 'X' runs at 12:00AM then my job 'Y' should run at 12:05AM. If job 'X' runs at 11:00AM then my job 'Y' should run at 11:05AM.

Please let me know how this is possible using CA-7
Back to top
View user's profile Send private message

maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Wed Jun 24, 2009 6:33 pm    Post subject:
Reply with quote

Can we know why you are waiting for 5 minutes time gap?

As per my knowledge, CA7 is not having any option to do this.

You need to write one program to capture timings in Job X & create a control card dynamically to trigger that job Y using SASSTRLR after after 5 minutes.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Jun 24, 2009 6:37 pm    Post subject:
Reply with quote

Before that can I know the business need for doing so? Why the gap of five minutes?
Back to top
View user's profile Send private message
sreenivasreddyg

New User


Joined: 23 Apr 2005
Posts: 39
Location: delhi

PostPosted: Mon Jun 29, 2009 10:30 am    Post subject:
Reply with quote

The first job will set an Indicator in the database to "Y" and we need to start after the indicator is set. The first job runs for 2 hours and we don't need to wait until the completion of that job for triggering the second job.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Jun 29, 2009 11:15 am    Post subject:
Reply with quote

I am not aware if CA7 has such facility.

But What I would have done in this case is Create one dataset when you make your indicator to "Y".

Make second job as dataset triggered. At the end of this job delete this dataset.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Jun 29, 2009 5:01 pm    Post subject:
Reply with quote

Hi,

why not make the step that sets the indicator a separate job. ?


Gerry
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Mon Jun 29, 2009 5:35 pm    Post subject:
Reply with quote

As gcicchet mentioned ...

That's exactly the only way it should be done !!!
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts Event-driven programming (BTS) VS (ST... Rohit Umarjikar CICS 2 Sat Jun 11, 2016 2:05 am


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