How to delete generations of gdg without deleting gdg base?
Answers were Sorted based on User's Feedback
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 |
Answer / piyush mani
this approch will delete all the generations as well as base
to delete a generation without deleting base we hv 2 use
alter command in idcams utilt.
gv ur feedback...
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / neha
//SYSIN DD *
DELETE (DM36A.PFB0004.EXTRACT.SHAKS) GDG FORCE
//*
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=D
//*
| Is This Answer Correct ? | 0 Yes | 1 No |
In SPACE,what is directory,RLSE
if we give TIME=0 how many sec that job/step
how to convert fb to vb in jcl ?
what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
GDG Create syntax ?
How can an in-stream dataset be terminated?
What are the kinds of job control statements?
when we use sysprint and sysout statements
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
Is condition checking possible in jcl?
What does a disposition of (NEW,CATLG,DELETE) mean?
Passing a variable parm from JCL to a cobol/db2 program