How to delete generations of gdg without deleting gdg base?
Answer Posted / naresh
using IEFBR14 you can delete all gdg versions without
deleting GDG Base
see below details
//STEP2 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=A
//GDGDEL DD DSN=NBKRELQ.GDG.BASE,DISP=
(SHR,DELETE,DELETE),
// SPACE=(TRK,0)
with same utility you can delete a specifi GDG version aslo
just you need to change DSN name and DISP to DISP=
(MOD,DELETE,DELETE)
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Name a few IBM utility programs, and explain its function.
what are the statements that are not valid to be included in an include statement?
Explain the function of dd disp parameter?
What are the parameters that are used in creating a gdg?
How to submit a jcl from cics?
How is a type of file defined in the jcl that executes the cobol program?
what are the various stages of job processing?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the function of //jcllib statement?
When space is allocated for an output dataset, what units can be used?
How does jcl act on a cobol code?
Define concatenating?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How can the attributes of one sms dataset be copied to another dataset?
Explain about LMQUERY�give a dialog information about a data set