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
Explain the purpose of the dd keylen parameter?
Is it possible to code instream data in a PROC?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
which parameter is used to check the syntax of a jcl without executing it?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How can unused space allocation be returned to the system when a dataset is closed?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
what operation is performed by job statement?
What is jcl in mainframe?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
define cond parameter in jcl?
Can we call instream to catalog and catalog to instream?
how you can direct the data to spool using SYSOUT option?
What is the function of job statement in jcl?