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 |
how do you code a null statement?
How many days does a job remain in spool
which utility is used to run a cobol-db2 program?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
What do you know about jcl?
What is the use of the utility DFSRRC00 in the JCL?
If job is submitted with typerun = hold then how can we submit the same job?
How much space OS allocates when you create a PS or PDS?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?