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 have five steps & I created new versions of GDG in
first step through fourth step & fifth step I was refered
Step one GDG version. My JCL got abend at 4th step and how
I can restart my JCL Please let me know the answers.

//STEP1 EXEC GDG1(+1) DISP=(NEW)
//STEP2 EXEC GDG1(+2) DISP=(NEW)
//STEP3 EXEC GDG1(+3) DISP=(NEW)
//STEP4 EXEC GDG1(+4) DISP=(NEW)
//STEP5 EXEC GDG1(+1) DISP=(OLD)

Answers were Sorted based on User's Feedback



My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / satheesh

JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).
Hope this make sense.

Is This Answer Correct ?    56 Yes 3 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / arif

Here 2 scenario's are possible:

1) When dataset gets created in step 4 in case of
(DISP=NEW,CATLG,CATLG)

You need to restart from step 5:
In STEP5 use GDG1(-3).

2) When dataset doesn't get created in step 4 in case of
(DISP=NEW,CATLG,DELETE)
You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).

Is This Answer Correct ?    14 Yes 0 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / chandrababu

Plz ignore the previous ANS#5,

THis is correct one:

JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).

Is This Answer Correct ?    13 Yes 2 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / virender

GDS being catalogued or not depends upon the disposition
(DISP) specified upon the abnormal termination of the job.
If the data sets are catalogued, you need to use GDG(-3)in
the rerun in step 5. Otherwise you can simply restart from
top.

Is This Answer Correct ?    11 Yes 4 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / khbnaidu

Sathish ur answer is correct.

Is This Answer Correct ?    8 Yes 2 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / t srinivasa chary

we need to restart from step 4
In step4 use GDG(+1)
In step5 use GDG(-2)

Is This Answer Correct ?    6 Yes 0 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / atul

Sorry to confuse in the Ques. I just thought we r using GDG in step4 as OLD so i suggested to be use current GDG(+0) but i came to know that it creating the new one so we use GDG(+1) in step 4 not GDG(+0).

Corrected Ans 10 as below

When dataset doesn't get created in step 4 in case of
(DISP=NEW,CATLG,DELETE)
You need to restart from STEP4
In STEP4 use GDG1(+1),
In STEP5 use GDG1(-2).



Sorry for in convenience. :)

Is This Answer Correct ?    1 Yes 0 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / ajay kumar ande

WE CAN USE COND=(04,LT) AT JOBLIB,IF WE GOT ABEND IN STEP4 IT BYPASSES AND EXECUTES NEXT STEP SO THAT WE CAN REFER STEP1

Is This Answer Correct ?    1 Yes 1 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / margaret

since GDG is not cataloged until the successful end of the
step, Your best bet is to use a referback to point to the
dataset in the subsequent step. This way you will get the
appropriate dataset prior to cataloging.

Is This Answer Correct ?    6 Yes 12 No

My JCL have five steps & I created new versions of GDG in first step through fourth step &..

Answer / atul

I believe, restarting from step 4 we need to use GDG1(0),

When dataset doesn't get created in step 4 in case of
(DISP=NEW,CATLG,DELETE)
You need to restart from STEP4
In STEP4 use GDG1(0),
In STEP5 use GDG1(-2).

Please correct me if i am wrong.

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More JCL Interview Questions

Explain about RECORDING MODE Clause

1 Answers  


Is condition checking possible in jcl?

0 Answers  


what is the JCL statement consists of?

0 Answers  


what is the purpose of SYSOUT parameter in the DD statement?

1 Answers  


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


Mention the types of job control statements?

0 Answers  


List the different components of jcl statement?

0 Answers  


What is the format of comment statement?

0 Answers  


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


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

1 Answers   Accenture,


How to print data of sequential file to Spool..?

2 Answers  


What is the difference between run mode and addressing mode?

0 Answers  


Categories