View previous topic :: View next topic
|
Author |
Message |
abdulrafi
Active User
Joined: 14 Sep 2009 Posts: 184 Location: Coimbatore
|
|
|
|
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 |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
 |
abdulrafi
Active User
Joined: 14 Sep 2009 Posts: 184 Location: Coimbatore
|
|
|
|
Thank you. let me check it up here with my scheduling team. |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
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 |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
 |
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
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 |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
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  |
|
Back to top |
|
 |
vasanthz
Global Moderator

Joined: 28 Aug 2007 Posts: 1746 Location: Tirupur, India
|
|
Back to top |
|
 |
|