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 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What is job control language?
How can the disposition of sysout datasets be set for an entire jobstream?
Explain about LMFREE�free data set from its association with data ID
how you can direct the data to spool using SYSOUT option?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
Explain how can the submitting users racf authority be overridden in a job stream?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
define cond parameter in jcl?
What parameter directs the output of the job log dataset?
what is “Cond= even” and “Cond=only”?
Explain in DD statement what is the use of DCB parameter?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
when does a dataset go uncataloged?