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 how can a jobs execution priority be modified?
A dd statement consists of 4 fields. Name them?
How would you understand error(execution phase)?
How to submit a jcl from cics?
Explain the function of dd disp parameter?
what happens in execution stage in job processing?
How does jcl act on code(if you take a cobol program)?
what is “Cond= even” and “Cond=only”?
Why include statement is used in a jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Are there any set of rules for the names of the steps used in a job?
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?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain how can the submitting users racf authority be overridden in a job stream?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?