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
 

 

Job triggers to run one after the other

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 135
Location: Coimbatore

PostPosted: Thu Oct 20, 2011 6:06 pm    Post subject: Job triggers to run one after the other
Reply with quote

Hi,

I have job1, job2 and job3. How can I schedule these 3 jobs in test region to run one after the other. Is there any option in jcl by which I can do it myself.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 6:10 pm    Post subject:
Reply with quote

Without even knowing which package you have installed, who knows.

As to the access so to do, you need to talk to your scheduling people, which is where you should have gone before even posting.
Back to top
View user's profile Send private message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 135
Location: Coimbatore

PostPosted: Thu Oct 20, 2011 6:42 pm    Post subject:
Reply with quote

Thank you. let me check it up here with my scheduling team.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Thu Oct 20, 2011 11:53 pm    Post subject:
Reply with quote

Otherwise you can add a tso step at the end of a job which would release the next job (given the appropriate commands/exec, of course!).
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 21, 2011 12:22 am    Post subject:
Reply with quote

Hello,

Or add a step to the end of the first 2 jobs to submit the next job thru the Internal Reader (INTRDR). There are several topics in the forum that show the JCL for this.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Oct 21, 2011 2:04 am    Post subject:
Reply with quote

Please be careful with that INTRDR stuff. Make double-sure that you have good condition code checking, AND you make sure you delete any files that need to be cleaned up.

The scheduling packages do all of that for you, but your job step will get an RC of 0 even if you got a "not cataloged 2" condition.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Oct 21, 2011 2:34 am    Post subject:
Reply with quote

Using a scheduler is the preferred solution. In addition to the suggestions already given, if your have a JES3 test system, you can create a DJC network.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 21, 2011 3:06 am    Post subject:
Reply with quote

Hello,

Quote:
Using a scheduler is the preferred solution.
Yup. Agreed, but unfortunately there appear to be more and more places that do not believe testing needs a scheduler - only production.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Oct 21, 2011 2:52 pm    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

Quote:
Using a scheduler is the preferred solution.
Yup. Agreed, but unfortunately there appear to be more and more places that do not believe testing needs a scheduler - only production.

That is true. Out of respect for the rules of these fora, I shan't tell you what we did on ours icon_wink.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon Oct 24, 2011 1:27 pm    Post subject:
Reply with quote

A similar post of one JCL triggering another
http://ibmmainframes.com/post-6705.html
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 triggers to send realtime data rz061m DB2 2 Sat Jul 11, 2015 8:43 am
No new posts IMSDC screen abends and triggers mail abdulrafi IMS DB/DC 2 Tue May 31, 2011 6:06 pm
No new posts EXIT in Triggers PeterHolland DB2 8 Fri Dec 03, 2010 5:44 pm
No new posts Query on DB2 Triggers srinut123 DB2 3 Tue Apr 20, 2010 9:53 am
No new posts DB2 Triggers - cant put NOT NULL cons... ashishsr123 DB2 6 Thu Apr 30, 2009 12:08 am


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