Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to delete generations of gdg without deleting gdg base?

Answers were Sorted based on User's Feedback



How to delete generations of gdg without deleting gdg base?..

Answer / naresh

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

How to delete generations of gdg without deleting gdg base?..

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

How to delete generations of gdg without deleting gdg base?..

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 0 No

Post New Answer



More JCL Interview Questions

What is the function of job statement in jcl?

0 Answers  


What is condition checking in jcl? Is this possible?

0 Answers  


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


wht r different types of sort fields in jcl ?

1 Answers   IBM,


How to print data of sequential file to Spool..?

2 Answers  






using cursor how can you fetch more than one record into a variable

3 Answers   Syntel,


lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


How to find out the number of records in a file using JCL

5 Answers   CTS,


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


How can unused space allocation be returned to the system when a dataset is closed?

0 Answers  


What is RESTART? How is it invoked?

8 Answers   HSBC,


What are the rules employed while naming the steps in a job?

0 Answers  






Categories