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 |
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
what is use of space parameter in dd statement?
which utility is used to sort a file in jcl?
what is JCLLIB and PROCLIB in jcl and their syntax
In DCB, what is LRECL,BLKSIZE,DSORG
how to concatenate datasets
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Why we will create load module in PDS only, Why nt in PS?
What is the purpose of dd?