Can we DELETE all the Generations of a GDG at once, WITHOUT
deleting the GDG itself ?
Answer Posted / kalone
Yes , we can do that by using following step :
//step1 dd pgm=iefbr14
//gdggen dd dsn=base-gdg-file,DISP=(MOD,DELETE,DELETE)
The above code will delete all the generations except the
base GDG.TO delete base GDG you need to use IDCAMS.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Explain in DD statement what is the use of DCB parameter?
List in order the hierarchical levels of jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
what is use of dcb parameter in dd statement?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How jcl work to handle various input output file operations?
What is the purpose of dd * statement in jcl?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what is SOC4 error?
Does jcl support automatic restart?
In sms datasets, what is the function of the dd mgmtclas keyword?
How does jcl act on code(if you take a cobol program)?
What is concatenating?