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
What is the function of dd disp parameter?
what is the compile process of cobol program expalin with code
How does the jcl specify the job to os?
How do you overcome this limitation ?
what is the use of JCL?
What is the purpose of dd?
What do you understand by the term job time – out and how can you overcome that?
what JCL Procedures?
Explain how can return codes be tested before execution of a job step?
what are the various stages of job processing?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How can a stopped job be started again?
how you can direct the data to spool using SYSOUT option?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?