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 it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
What do you understand by the term job time – out and how can you overcome that?
which utility is used to sort a file in jcl?
Can we Execute a job without specifying Job Name in the Job Card?
What does a disposition of (NEW,CATLG,DELETE) mean?
i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl
Is there any command to check wether the ps file is in sorted order?
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
if we give TIME=0 how many sec that job/step
How many days does a job remain in spool
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?