I had 100 steps in jcl i want to execute first 10 steps only?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shivanadri naveen kumar
After 10th step you should give jcl null statement or else
code condition parameter in step11.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / harsha
You can use IEBEDIT utility to perform this activity.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / srinivas
After 10th step you should give jcl null statement or else
code condition parameter in step11.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kamaldeep
The answer #5 by Challa Srinivas is wrong, if we give //STEP11 EXEC=PGM2,COND=(0,LE,STEP10) then it will only not run Step11 but will run all the step after it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / challa srinivas
Just code at step 11 as below.
//STEP11 EXEC=PGM2,COND=(0,LE,STEP10).
Please note that Step 10 should execute successfully at any cost else again the job will start executing from step 11 till end.
| Is This Answer Correct ? | 1 Yes | 1 No |
how you will the direct the data to spool using sysout option?
Explain the function of dd name parameter with a 2 part structure; audit.report?
wht is the d/f between positional parameter n keyword parameter ?
What are steplib and joblib?
How can we execute only one step in a job
22 Answers MAHINDRA, Mind Tree, Tech Mahindra,
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
What are the rules employed while naming the steps in a job?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
hi guys what r the diff types of procs in jcl? bye ramya
4 Answers ACS, Keane India Ltd,
What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?
oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset
Can I send output of job to my remote device careerride123?