A. Job Abended in STEP03. Now run job again to execute
STEP03, STEP04 (STEP01,STEP02 should not execute again)

Answers were Sorted based on User's Feedback



A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not ex..

Answer / guest

There are two ways we can do that,

1)Please use the Restart parameter in the job card (for
example Restart=step03)

2).Please use the COND=(0,LE) in step 1 and step2(for
example(Step1 exec pgm=XXXX,cond=(0,LE) and step2= exec
PGM=XXXX,cond=(0,LE)).

Is This Answer Correct ?    17 Yes 0 No

A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not ex..

Answer / bvr

Here, In this Sceneraio it is better to use restart

Is This Answer Correct ?    15 Yes 0 No

A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not ex..

Answer / guest

by using restart parameter you can do this.


//jobcard, restart=(step3)


Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

How to copy one PS file to multiple PS files with same data?

1 Answers  


I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?

11 Answers  


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


What is a MODEL Paramater in GDG ?

2 Answers   Xansa,






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

2 Answers  


How do you overcome this limitation ?

0 Answers  


Explain the function of //cntl statement?

0 Answers  


What is a COND parameter in JCL?

10 Answers   TCS,


How to change default PROCLIB?

1 Answers  


What does IEBGENER do?

10 Answers   BirlaSoft,


Why do you use a control card?

3 Answers   IBM, iNautix,


Categories