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 a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
Name a few IBM utility programs, and explain its function.
What is timing concept in mainframe?
what is the control cards?
How are GDGs concatenated?
A dd statement consists of 4 fields. Name them?
what is alternate index?
In SPACE,what is directory,RLSE
Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.
what is DSN in JCL and what are the parameters to declare the DSN?
Can we Execute a job without specifying Job Name in the Job Card?
What is the exact difference between PRTY and DPRTY