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

how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?

6 Answers   CSC,


What is the difference between the positional and keyword parameters? Give examples.

0 Answers  


jcl is like a complier....?

6 Answers  


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


How to DEBUG a JCL?

9 Answers   Satyam,






I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  


How can the submitting users racf authority be overridden in a job stream?

0 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


Explain about SYSVAR

1 Answers  


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

0 Answers   IBM,


Is there any command to check wether the ps file is in sorted order?

4 Answers  


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


Categories