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 can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
how do u see jobs submitted before ur job ?
how to convert a file form fixed Length to variable length?
What are the parameter we cannot use in procedure?
What are some jcl statements that are not allowed in procedures?
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
what are the technical terms for // /* in jcl
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
Are there any set of rules for the names of the steps used in a job? What are they?
Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?
What is the difference between the positional and keyword parameters? Give examples.