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

What are some jcl statements that are not allowed in procedures?

730


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

811


I need exexution process for JCL programs

1854


What are the 4 fields in dd statement?

744


How to run cobol program using jcl?

656






what sort card you will use to copy the data from one dataset to another dataset?

734


Give the syntax of job specifying jcl statement.

640


What is the significance of addrspc parameter in the exec statement?

624


Is their any set of rules for dd? Explain.

664


How to execute 2nd and 4th steps among 5 steps in jcl proc?

750


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1630


Explain how can a jobs execution priority be modified?

743


What is condition checking in jcl? Is this possible?

628


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7092


Is it possible to left uncode disp?

717