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
Differentiate between addressing mode and run mode.
What are s0c1, s0c4, s0c5, s0c7 and socb?
how to run batch program without jcl?
Does jcl support automatic restart?
what is DSN in JCL and what are the parameters to declare the DSN?
Explain the function of //cntl statement?
How is a type of file defined in the jcl that executes the cobol program?
what is the purpose of coding notify parameter in job statement?
How can a fb file convert to vb file using sort program?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How to run cobol program using jcl?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Give the syntax of job specifying jcl statement.
Explain the jcl exec statement?