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 fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


How dummy is used in jcl?

0 Answers  


How can return codes be tested before execution of a job step?

0 Answers  


What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,






Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

0 Answers   Keane India Ltd,


Is their any limit for data sets?

0 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


If we want to see the eliminated duplicate record thru SORT, how its output file will be managed

6 Answers   Syntel,


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

2 Answers  


what is the difference between static call and dynamic call?

1 Answers  


Categories