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 |
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset
can we maintain 2 generations with different Lengths in Same GDG ?
Explain about File Tailoring
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
how you can access an uncataloged dataset in a JCL?
How can an in-stream dataset be terminated?
Explain how can return codes be tested before execution of a job step?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
What are hierarchy levels in jcl?
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
List the different jcl statements that are not permitted in the procedures?