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 |
what is the purpose of coding class parameter in job statement?
i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?
how many members can be created inside a single pds?
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
Explain dfsort utility?
How to ALTER the name of a GDG ?
whats the diff bw the evaluate also and and?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
Suppose I have five jobs to do. But I want to hold one?
Explain how can return codes be tested before execution of a job step?
What is the function of the dd dcb keyword?
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?