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


Please Help Members By Posting Answers For Below Questions

how can the same proc be re-used and called by many jobs?

898


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

789


Where & How Do You Code Identifier In Jcl?

688


Matching Logic in Jcl not in cobol.Could any one please answer this question

3666


What are hierarchy levels in jcl?

940






What is job control language?

603


Explain the jcl exec statement?

638


Explain the job statement in jcl?

637


Is there any command to check wether the ps file is in sorted order?

2420


//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 /*

898


What is notcat 2 - gs?

923


what is DD statement is used in JCL?

673


Explain how can values be passed from the job stream to an executable program?

606


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1657


Explain dd statement in jcl?

630