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 / laxmi

but how MR.Prasanth ????

Is This Answer Correct ?    2 Yes 1 No

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

Answer / kamal

hi ankur,

i am really oppose u r answer cond=only previous step
abnormally execution mens this step executed.otherwsie not
possible.
using iebedit utility is oneway.
another one is restart=stepname end of the step give null
stmts.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / radhakrishnan

1. restart the step in the jobcard
2. give a null // at the end of the step.

Thanks,
raddie

Is This Answer Correct ?    1 Yes 0 No

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

Answer / vel

restart=step name,cond(0,le)

Is This Answer Correct ?    1 Yes 0 No

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

Answer / pavan kumar

give that steps name in the restart parameter on the job
card and after that step put //

Is This Answer Correct ?    1 Yes 0 No

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

Answer / deb

as per Sravanthi's answer.. A null (/*) statement at the
end of this step can be given for running this step alone
but we have to give restart in job.


suresh,the second method that u have suggested its not
correct, coz if u have more than one step in the same job
then u have to code the same COND parameter for each step.
this will stop the execution of 2 step...

Is This Answer Correct ?    1 Yes 1 No

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

Answer / valmiki1980

This is a sample to restart only step02 and skip rest all,
please correct me if i am wrong.
--------------------------------------------------
//JOB CARD RESTART=STEP02

//STEP01
//STEP02
//chkstp02 IF STEP02.RC > 12 THEN
//STEP03
//STEP04
//STEP05
/*
// ENDIF
//

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sushanta

Use RESTART parameter and then use null for that step so
that no step gets executed after that.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sachin

Suresh Sir: I agree with your answer but if Condition is True means that particular step(2) will be bypassed however job execution will go to the next step(3). I am just fresher, so please correct me if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / suresh

Hi,

Better we can give the true condition i.e COND=(0,LE) in
all the steps that we don't want to execute.

Please suggest if am wrong

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,


what is the use of temporary files?

5 Answers   Hexaware,


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

11 Answers   Tesco,






I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


what is use of dsn parameter in dd statement?

0 Answers   IBM,


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  


Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE

4 Answers   Merrill Lynch,


Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?

3 Answers  


What is GDG?

1 Answers  


Categories