How can we execute only one step in a job
Answers were Sorted based on User's Feedback
Answer / sravanthi
We cannot specify COND parameter for the first step in JCL.
So if there are many steps in JCL, we need to restart the
job from the required step. A null statement at the end of
this step can be given for running this step alone. If any
other step also need sto be run, then we can go for the COND
parameter instead of the null statement
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / mohammad
I think we have to use restart and cond parameter
at job card.i.e restart=stapname,cond(00,le).
This will execute only the step u need.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / suresh
Hi,
This can be achieved by two ways.
1. As Sravanthi mentioned - A null (/*) statement at the
end of this step can be given for running this step alone.
2. By using COND parameter in the second step. Like
//STEP2 EXEC PGM=EXAMPLE,COND=(0,LE,STEP1)
| Is This Answer Correct ? | 6 Yes | 0 No |
Hi,
Use cond=(0,LE) in jobcard and also specify
Restart=Stepname,the step you want to execute.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / ram g
Assume that job has 100 steps ... want to execute only the
step 89 then
just give the following stmt in job card..
restart = stepname, cond=(0,le)
can achieve this in multiple ways..!
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ankur
hi
kamal.
i know that by IEBEDIT IT can be done....
//sysin dd *
edit type=exclude, stepname=(step01)
//
but we should try with cond...
i know cond = only in first skip or flush the 1st step ..
just check it...
bye
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / prashanth
hi, laxhmi,
we can execute only one step in a job by using
cond parameter, IEBEDIT utility program,
thanks & regards
prashanth
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / chaitanya
in the proc call statement, EXEC PROC, we need to use
stepname.COND=(0,LE) option
| Is This Answer Correct ? | 4 Yes | 2 No |
i have step1,step2,step3 from where can i start coding cond parameter ?
how to purge 50 initiators continuously?? console commands??
How do you override a specific DDNAME/SYSIN in PROC from a JCL?
What is the purpose of dd * statement in jcl?
Explain the purpose of dd * statement in jcl?
What dd statement is used to supply the name of a dataset?
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
If Region=0k means What Happen?
How to copy VSAM files without using REPRO
Can I send output of job to my remote device careerride123?
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?