I have 2 steps in my exec statement , in first step I am
creating a gdg, and the output of this step is going into
second step as a input, and this second step is abended ,
now how could i approach in this case.

Answers were Sorted based on User's Feedback



I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this st..

Answer / chakri

The input for second step is already created, solve the
abend and restart from the abended step

Is This Answer Correct ?    18 Yes 3 No

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this st..

Answer / madhuri tungal

when the job abended in step 2 then while restarting the
job from step2 the GDG has to be referred using (0) i.e
current generation insted of (+1) as in earlier case before
abend.

Please correct me if in case i am wrong....

Thanks,
Madhuri.

Is This Answer Correct ?    18 Yes 3 No

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this st..

Answer / luiz roberto

In my opinion it depends of the abend.
Why was the cause of STEP2 abend? If it was because a bad
file created on STEP1 we should correct the program that
generates the file (on STEP1), uncatlg the bad GDG created,
and then resubmit the job from STEP1.
If the STEP2 cancelled and the input file is good, we should
fix the STEP2 and restart the job from STEP2 using GDG(0).

Is This Answer Correct ?    2 Yes 0 No

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this st..

Answer / guest

It Depends on what type of restart it is, if no checkpoint
or UC1RMS is present, as Madhuri has suggested, we need to
make the GDG version as 0 and procedd, in case checkpoint
or UC1RMS is present, then we directly restart from the
abended step.

Is This Answer Correct ?    0 Yes 0 No

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this st..

Answer / garry

Pls code GDG(0) and the data set at step 2 is created, you need to take care of this as well (may or may not created).

I am assuming created, then delete is first:
Couple of options are:

1. Manual Delete and JCL will create it again as //STEP2 ......... DD DSN=.....DISP=(new,catlg,catlg{if delete was coded hear you may ignore my steps})

2. Use IEBGBER at step0 to delete previously created d/st by DISP=(MOD,delete,delete).

Pls check, if my response is not clear let me know.

Garry

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

How can return codes be tested before execution of a job step?

0 Answers  


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


What is the improvement to COND= in the latest version of MVS?

3 Answers  


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,






How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

0 Answers   CSC, SPIC,


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


i want to avoid the positional parameter how to code it ?

3 Answers   TCS,


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


What is the significance of addrspc parameter in the exec statement?

0 Answers  


When cursor is not closed what is the error?

3 Answers   IBM,


what is full form of AIX

3 Answers   Accenture,


Categories