Page 1 of 1

Submit more than one Job from a JCL.

Posted: Tue Mar 17, 2015 2:05 pm
by JCLQuestion
Hi,

I want to submit 5 Jobs from a single JCL, is it possible? If yes, can you please give me a sample to build on?

Re: Submit more than one Job from a JCL.

Posted: Tue Mar 17, 2015 2:56 pm
by William Collins
Depends what you think "a JCL" is.

If you have a sequential file (can be a member of a PDS/PDSE) it can contain multiple JOBs. Just specify multipl JOB cards.

Re: Submit more than one Job from a JCL.

Posted: Sun May 17, 2015 6:34 pm
by JCLQuestion
Can you please share some example with me so that it will help me.

Re: Submit more than one Job from a JCL.

Posted: Sun May 17, 2015 10:48 pm
by Robert Sample
Create your data set like:

Code: Select all

//JOB1 JOB ...
...
//JOB2 JOB ...
...
//JOB3 JOB ...
...
//JOB4 JOB ...
...
//JOB5 JOB ...
...
Unless you are asking about a specific situation you have not yet explained, why is it so hard for you to just test this yourself?