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 dummy is used in jcl?

645


whats the diff bw the evaluate also and and?

1856


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1969


what is JCL?

698


Explain the hierarchy levels in jcl?

1120






What is the function of the dd dcb keyword?

824


What is concatenating?

635


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

631


Explain dd statement in jcl?

644


what happens in execution stage in job processing?

655


What is the maximum length of a single line of jcl?

829


What happens if both JOBLIB & STEPLIB is specified ?

609


How to run cobol program using jcl?

650


How to submit jcl through a cobol program?

679


How can an in-stream dataset be terminated?

848