Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


My JCL contains four steps

//STP1 A(+1), DISP = NEW
//STP2 A(+2), DISP = NEW
//STP3 A(+3), DISP = NEW
//STP4 A(+1), DISP = OLD

STP3 was abended and I want restart my JCL from STP3 onwards
& what are the precaution I want to take & what are the
changes I need to make. Pls let me know.

Answers were Sorted based on User's Feedback



My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP..

Answer / thavasi

Since STP1 and STP2 are completed... u need to override the
GDG versions for STP3 and STP4 as you want to restart from STP3.


//STP3.OUTDD A(+1),DISP=NEW
//STP4.INDD A(-1),DISP=OLD

Is This Answer Correct ?    13 Yes 4 No

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP..

Answer / divakar

you writing restart=step03in joblevelor activity level

Is This Answer Correct ?    3 Yes 0 No

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP..

Answer / naveenkumar m

For example:

if the code executes without any issues the following will be created
step 1 creates G001V00 (A(+1)), DISP=NEW
step 2 creates G002V00 (A(+2)), DISP=NEW
Step3 Creates G003V00 (A(+3)), DISP=NEW
Step4 utilizes G001V00 as DISP is OLD and we refer A(+1) here.

so whatever the content created in step 1in G001V00 will be replaced by the content created in step4.

When the job fails, G001V00 and G002V00 are already created.

so when you restart the step3 you should replace the file (+3) by (+1) in step3 as now the current version is G002V00 not G001V00.

if you don't change the version (+1) that means that you are referring to G003V00 which is created in step3.

Actual code is replacing the file in step1 not step3.

So you need to replace the file version in step 4 from (+1) to (-1). so that it will refer the file created in step1.

Hope this is very clear.. if you don't get even now, feel free to email @ mndlsoft@gmail.com

Is This Answer Correct ?    2 Yes 0 No

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP..

Answer / lalit

you just need to do

//STP3 A(+1), DISP = NEW

as this is the latest generation which is going to create
once you restart the job from this step...

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More JCL Interview Questions

how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths

4 Answers   IBM,


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


What is the function of a dd statement?

0 Answers  


how do u define a file in cobol and jcl ?

2 Answers   TCS,


Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


How do you designate a comment in JCL?

1 Answers  


lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


Is condition checking possible in jcl?

0 Answers  


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


How do you access an uncatalogued dataset in a jcl?

0 Answers  


Categories