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 some jcl statements that are not allowed in procedures?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
I need exexution process for JCL programs
What are the 4 fields in dd statement?
How to run cobol program using jcl?
what sort card you will use to copy the data from one dataset to another dataset?
Give the syntax of job specifying jcl statement.
What is the significance of addrspc parameter in the exec statement?
Is their any set of rules for dd? Explain.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
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
Explain how can a jobs execution priority be modified?
What is condition checking in jcl? Is this possible?
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
Is it possible to left uncode disp?