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 |
diff bw vsam and normal flat file?
what is fixed length and variable length and difference between them
how to allocate a dynamic dataset in jcl ?
How do you restart a PROC from a particular step?
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
What is the format of comment statement?
Whats error code s222?
How to ALTER the name of a GDG ?
suppose i have 10 job steps and i want to execute only step 6.How to write?
How can we increment subscript and index?
i want to store 20 digits . how will u do it in cobol ?
How to read records in reverse order in flat file?