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


Please Help Members By Posting Answers For Below Questions

Does jcl support automatic restart?

746


what is the use of IEBGENER utility?

651


Explain the purpose of the dd keylen parameter?

664


i want to store 20 digits . how will u do it in cobol ?

856


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

969






What do you understand by the term job time – out and how can you overcome that?

595


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.

726


write a jcl to execute a job by 7:00 am on jan 20,1986?

690


How to submit jcl through a cobol program?

669


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?

709


Explain how can the submitting users racf authority be overridden in a job stream?

666


What is the use of disp parameter?

645


What parameter directs the output of the job log dataset?

761


which parameter is used to check the syntax of a jcl without executing it?

792


What happens if both JOBLIB & STEPLIB is specified ?

602