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


Please Help Members By Posting Answers For Below Questions

Differentiate between the joblib and the steplib statements?

868


which utility is used to sort a file in jcl?

756


Can we use DISP=SHR in output file in JCL

961


how you can access an uncataloged dataset in a JCL?

666


What are steplib and joblib?

731






what is the purpose of coding class parameter in job statement?

736


Must tape dataset definitions include vol=ser specifications?

994


Give the syntax of job specifying jcl statement.

646


What is job control language?

621


What do you understand by the term notcat 2 – gs?

768


What is the motivation behind coding class parameter in job statement?

700


When output dataset space is required, what quantity categories are used?

845


what is the compile process of cobol program expalin with code

2011


What do you know about jcl?

660


What does a disposition of (new,catlg,keep) for a dsn mean?

629