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 |
What is the purpose of include statement in a JCL?
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
how do u see jobs submitted before ur job ?
In sms datasets, what is the function of the dd mgmtclas keyword?
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
How to find in aparticular step how many versions a paricular gdg base have?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
wht r different types of sort fields in jcl ?
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
What are the differences between JES2 & JES3 ?