Can you delete the GDG base without deleting GDG
generations ?
Answer Posted / 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 |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
How can unused space allocation be returned to the system when a dataset is closed?
What is the use of symbol // in jcl?
Explain about LMFREE�free data set from its association with data ID
List the different jcl statements that are not permitted in the procedures?
Explain the function of the dd dcb keyword?
What is notcat 2 - gs?
In sms datasets, what is the function of the dd avgrec keyword?
Is it possible to left uncode disp? If yes, how?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the difference between run mode and addressing mode?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
List the different components of jcl statement?
whats the diff bw the evaluate also and and?
What is the motivation behind coding class parameter in job statement?