My JOB contains three steps.

//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=DEF
//STEP3 EXEC PGM=GHI

My Question is
1) I want to execute second step only. How will do.
2) Soppose U consider above three steps are in PROC steps
and I want execute the PROC second step only?
How to execute the second step only. During exection
time its creating any ABEND?

Please let me know..........

Answers were Sorted based on User's Feedback



My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI ..

Answer / sandy

Question no.1
-------------
Code RESTART=STEP02,COND=(0,LE) in the job card
Question no.2
-------------
Code RESTART=PSTEP1.STEP02,COND=(0,LE) in the job
card.PSTEP1 is the step executing PROC.

Is This Answer Correct ?    14 Yes 1 No

My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI ..

Answer / hema

Restart the Job from second step. Suppress the Third step
using the condition code.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More JCL Interview Questions

What is the function of the steplib dd statement?

0 Answers  


Explain the function of //jcllib statement?

0 Answers  


What is MOD and when would you use it?

3 Answers  


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,






Can I share my data with other jobs? How?

0 Answers  


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


What is GDG?

1 Answers  


describe the job statement, its meaning,syntax and significant keywords?

1 Answers  


How does jcl act on a cobol code?

0 Answers  


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


What is the function of the dd dcb keyword?

0 Answers  


Categories