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
How can the attributes of one sms dataset be copied to another dataset?
Explain dd statement in jcl?
What parameter of the job statement is used to limit the cpu time consumed by the job?
what is the resolution for sb37 error
Explain the function of //cntl statement?
Are there any set of rules for the names of the steps used in a job? What are they?
What is the use of symbol // in jcl?
What is the significance of addrspc parameter in exec statement?
What is the function of the dd mgmtclas keyword in sms datasets?
what is use of dcb parameter in dd statement?
What is the significance of addrspc parameter in the exec statement?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Explain the function of a dd statement?
How do you submit a job for execution?
What is multithreading in jcl?