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 |
Which COND paramter will u use to execute the step only if the previous step does not execute
what sort card you will use to copy the data from one dataset to another dataset?
Explain about Cobol Subroutines
can we bowse or edit the GDG dataset if it is a tape entry?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
jcl is like a complier....?
What is a S0C4 error ?
how can the same proc be re-used and called by many jobs?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
Matching Logic in Jcl not in cobol.Could any one please answer this question