I had 100 steps in jcl i want to execute first 10 steps only?
Answer Posted / albert n
If the JCL is not submitted by TSO/ISPF where automatic
generation of a JOB card is normal, you simply add a card
to the deck that has only //. This signals to the JCL
conversion that the jobstream had ended.
e.g
//STEP1 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP2 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP3 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP4 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP5 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP6 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP7 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP8 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP9 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP10 EXEC PGM=....
//.... DD DISP=...,DSN=...
// <- END of job signal to JCL conversion
//STEP11 EXEC PGM=.... From here down is ignored
//.... DD DISP=...,DSN=...
//STEP12 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP13 EXEC PGM=....
//.... DD DISP=...,DSN=...
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Does jcl support automatic restart?
what is the use of IEBGENER utility?
Explain the purpose of the dd keylen parameter?
i want to store 20 digits . how will u do it in cobol ?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What do you understand by the term job time – out and how can you overcome that?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
write a jcl to execute a job by 7:00 am on jan 20,1986?
How to submit jcl through a cobol program?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the use of disp parameter?
What parameter directs the output of the job log dataset?
which parameter is used to check the syntax of a jcl without executing it?
What happens if both JOBLIB & STEPLIB is specified ?