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 |
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?
What is the difference between the positional and keyword parameters? Give examples.
jcl is like a complier....?
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
How to DEBUG a JCL?
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)
How can the submitting users racf authority be overridden in a job stream?
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?
Explain about SYSVAR
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
Is there any command to check wether the ps file is in sorted order?
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?