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
What are the utility programs in jcl?
what happens in conversion stage in job processing?
Does jcl support automatic restart?
What are the parameters that are used in creating a gdg?
Name the statement which can be used to send data to another mvs jes3 node?
What is the function of the steplib dd statement?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Describe the various parameters utilized in the creation of a gdg?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is one line to pass PARM from JCL to COBOL?
how you can access an uncataloged dataset in a JCL?
List the various advantages of using jcl language?
What dd statement is used to supply the name of a dataset?
i want to store 20 digits . how will u do it in cobol ?
Explain the function of the dd dcb keyword?