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 |
restart logic ?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
after submiting the jcl.how do you know that the job has been completed.
When we give TYPERUN = SCAN , what are the syntax errors we get?
What is the difference between primary and secondary allocations for a dataset?
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?
13 Answers Cognizant, Convergys, IBM, TCS, Wipro,
Can I share my data with other jobs? How?
Can we use empty VSAM as input?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
How many types we can give input to JCL
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?