How can we execute only one step in a job

Answers were Sorted based on User's Feedback



How can we execute only one step in a job..

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

How can we execute only one step in a job..

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

How can we execute only one step in a job..

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

How can we execute only one step in a job..

Answer / sathishkumar

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

How can we execute only one step in a job..

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

How can we execute only one step in a job..

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

How can we execute only one step in a job..

Answer / prashanth

we can...it's possible

Is This Answer Correct ?    8 Yes 5 No

How can we execute only one step in a job..

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

How can we execute only one step in a job..

Answer / ramu

with con parameter

Is This Answer Correct ?    4 Yes 2 No

How can we execute only one step in a job..

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

Post New Answer

More JCL Interview Questions

what is alternate index?

1 Answers  


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

6 Answers   IBM,


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

0 Answers  


How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

0 Answers  






What is the purpose of dd?

0 Answers  


What are the utility programs in jcl?

0 Answers  


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?

1 Answers  


What are the common jcl syntax errors you get? This is not abends?

1 Answers  


Categories