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 |
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
What is COND=EVEN ?
what is use of dcb parameter in dd statement?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
Can we call instream to catalog and catalog to instream?
what is the use of temporary files?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.
How can a fb file convert to vb file using sort program?