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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you code a null statement?

1387


What is the purpose of dd * statement in jcl?

1333


How to submit jcl through a cobol program?

1191


Describe the various parameters utilized in the creation of a gdg?

1212


Explain the function of a dd statement?

1277


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1381


What is the significance of addrspc parameter in exec statement?

1263


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1439


what is use of dsn parameter in dd statement?

1201


Is automatic restart possible in jcl?

1278


What is the function of //cntl statement?

1395


write a jcl to execute a job by 7:00 am on jan 20,1986?

1164


Is it possible to left uncode disp? If yes, how?

1230


what is use of disp parameter in dd statement?

1152


how JCL works?

1326