Can you delete the GDG base without deleting GDG
generations ?

Answers were Sorted based on User's Feedback



Can you delete the GDG base without deleting GDG generations ?..

Answer / g.naveen

No,we can't delete the GDG base without deleting GDG
generations.

Is This Answer Correct ?    26 Yes 6 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / krishna reddy

if we are using this

DELETE(GDG name) GDG FORCE

with IDCAMS
then all related generations related to GDG will be deleted

Is This Answer Correct ?    12 Yes 1 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / subrata

Hi the answer given by Gvbreddy is wrong we cannot delete
gdg base having generation with IDCAMS.we can only delete
it thru file aid or by deleting all the generation first
and then delete of base.

Tested OK ;-).

Is This Answer Correct ?    8 Yes 1 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / naveen singh dalal

no,we cannot delete the gdg index without deleting the
generation.

Is This Answer Correct ?    4 Yes 1 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / anurag sharma

GDG base can be deleted (only removal of catalog entry not physically deleted) keeping all generations intact by using additional parameter Recovery using IDCAMS utility .

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
DELETE -
GDG01 -
GENERATIONDATAGROUP -
RECOVERY
/*

Is This Answer Correct ?    0 Yes 0 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / sapana

Base can be deleted , Keeping generation as it is by
following command.

//SYSIN DD *
DELETE (gdg name) GDG FORCE

Is This Answer Correct ?    1 Yes 6 No

Can you delete the GDG base without deleting GDG generations ?..

Answer / gvbreddy

yes , we can delete gdg base without deleting gdg
generations. it possible by the utility called idcams

Is This Answer Correct ?    10 Yes 17 No

Post New Answer

More JCL Interview Questions

What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


How to alter the parameters for the existing gdg?

0 Answers  


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


Can a job have only steplib and no joblib ?

6 Answers  


What is the difference between static call & Dynamic call ?

3 Answers  






What are the differences between JES2 & JES3 ?

4 Answers  


What is the difference between the positional and keyword parameters? Give examples.

0 Answers  


What is the function of the dd mgmtclas keyword in sms datasets?

0 Answers  


What do you feel makes a good program?

1 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


Categories