Can you delete the GDG base without deleting GDG
generations ?
Answer Posted / anurag sharma
GDG base can be deleted (only removal of catalog entry not physically deleted) keeping all generations intact by using additional parameter Recovery using IDCAMS utility .
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
DELETE -
GDG01 -
GENERATIONDATAGROUP -
RECOVERY
/*
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the difference between JES3 and JES2?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is DSN in JCL and what are the parameters to declare the DSN?
How to run cobol program using jcl?
How does jcl act on code(if you take a cobol program)?
how you can access an uncataloged dataset in a JCL?
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
What are the 2 types of parameters in dd statement?
Explain the function of a dd statement?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Is their any set of rules for dd? Explain.
What is the motivation behind coding class parameter in job statement?
A dd statement consists of 4 fields. Name them?
how do you code a null statement?
How can the attributes of one sms dataset be copied to another dataset?