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

If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.

2 Answers   IBM,


what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


How can unused space allocation be returned to the system when a dataset is closed?

0 Answers  


what are the options in file-aid to edit vsam dataset and to compare data sets.

2 Answers   Ocwen,


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?

7 Answers   IBM,


Differentiate between addressing mode and run mode.

0 Answers  


How many instream we can write in single jcl?

1 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?

1 Answers  


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


Categories