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 |
how do you access an uncataloged dataset in a jcl?
how to see the latest generation in gdg?
Explain about LMMLIST�list a library's members
if the submitter of a job wants to inform another user about the job completion, how can it be done?
can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
Matching Logic in Jcl not in cobol.Could any one please answer this question
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
Statement1 "We can not use UNCATLG in SMS managed VSAM datasets" Statement2 "We can not delete a SMS managed data set without UNCATLG it" (P-353, Saba Zameer book) Then how do we delete SMS managed VSAM datasets ?
how to run JCL thru COBOL.
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.