Can you delete the GDG base without deleting GDG
generations ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
No,we can't delete the GDG base without deleting GDG
generations.
Is This Answer Correct ? | 26 Yes | 6 No |
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 |
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 |
Answer / naveen singh dalal
no,we cannot delete the gdg index without deleting the
generation.
Is This Answer Correct ? | 4 Yes | 1 No |
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 |
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 |
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 |
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
whats the difference between empty and noempty of GDG?
what are the statements that are not valid to be included in an include statement?
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?
how to run JCL thru COBOL.
What does S0C4 error mean?
How do you submit a JCL under CICS environment ?
how to compare two datasets without using superce because output is limited to 133 bytes
Can you give the sort card to arrange the specific column in the version of GDG.
can a job be submitted through jcl only? is there another way to submit a job?