can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
Answer / prabudha jain
The GDG syntax is
//SYSIN DD *
DEFINE GDG(NAME (MYLIB.LIB.TEST) -
LIMIT (10) -
NOEMPTY -
SCRATCH)
/*
LIMIT -This parameter is used to specify the total number
of generations that the GDG may contain.
EMPTY -Specifies tht all existing generations of the GDG
are to be uncataloged whenever the generations of GDG
reached the maximum limit.
NOEMPTY -Specifies that only the oldest generation of the
GDG is to be uncataloged if the limit is reached.
SCRATCH -Specifies that whenever entry of the GDG is
removed from the index, it should be deleted physically and
uncataloged.
NOSCRATCH-Specifies that whenever entry of the GDG is
removed from the index, it should not be physically deleted
and uncataloged.
Note:SCRATCH and NOEMPTY are the default parameters.
| Is This Answer Correct ? | 26 Yes | 1 No |
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How to rename a VSAM file as well as it's index file?
What is COND=ONLY ?
How to overide the symbol parameter in the jcl ?
Differentiate between the joblib and the steplib statements?
What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?
Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..
how to see the latest generation in gdg?
What are three parameters you can specify on Job statement as well as on exec stmt ?
wht r s722,s822,s122 and s222 abends pls reply fast
how JCL works?
mainframe questions like basic&depth