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 are the common jcl syntax errors you get? This is not abends?

1 Answers  


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,


how many members can be created inside a single pds?

8 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K

3 Answers  






what is a MODELDSCB?

1 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

4 Answers   IBM,


how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly

5 Answers   IBM, TCS,


SORT card to eliminate duplicity.

1 Answers   Syntel,


wht happens if cond=true ? pls give me with an example ?

2 Answers   Syntel,


As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?

2 Answers   IBM, RS Software,


I have a PDS and want to omit few rows of all members of a PDS. How to do it?

6 Answers   Accenture,


Categories