How to execute 300 steps in a Job?
Answers were Sorted based on User's Feedback
Answer / prashanth
In a job max no of step is 255 ,if we want more than this
we have to submit one more jcl with in the same job
by using 'internal reader' its a part of JES
ex..
// step1 exec...
.
.
.
//step255 exec pgm=IEBGENER
//sysut1 dd dsn=another jcl
//sysut2 dd dsn= (*.INTRDER)
//sysprint dd sysout=*
| Is This Answer Correct ? | 33 Yes | 0 No |
Answer / venkat
we can't execute more than 255 steps in one job, so it is
not possible with procs also indirectly
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / vimal kumar
Write a jcl like the below. Two jobs will be submitted from
the same jcl.
//JOBCARD1 .........
//STEP1 EXEC ...
......
.....
//STEP255 EXEC ...
...
//JOBCARD2 ....
//STEP256 ..
.........
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / gowthami
we need to split the jcl into two jcls, at the end of first jcl check the condition code and initiate the second jcl.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kumar swamy
Prasanths answer is absolutely correct, but so many are using more than one jobs indirectly, you have to recall the question. And one more thing job steps are counted including the procedure steps which is in that job.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / brian
I don't suppose that practical versus possible is an option
here but it seems like a heavily loaded batch job to me.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to override loadlib?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
How do you submit JCL via a Cobol program?
What is Cataloged Procedures?
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
Matching Logic in Jcl not in cobol.Could any one please answer this question
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
How can unused space allocation be returned to the system when a dataset is closed?
how to skip the steps in JCl
how to count the number of members in pds?