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

If we want to see the eliminated duplicate record thru SORT, how its output file will be managed

6 Answers   Syntel,


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

0 Answers   IBM,


whats the difference between empty and noempty of GDG?

4 Answers   Patni,


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,






What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?

5 Answers   CitiGroup,


how to run JCL thru COBOL.

1 Answers   Patni,


What does S0C4 error mean?

8 Answers  


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,


Categories