can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
Answer Posted / 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 |
Post New Answer View All Answers
Explain how can a jobs execution priority be modified?
Give the syntax of job specifying jcl statement.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What are the 4 fields in dd statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How can the submitting users racf authority be overridden in a job stream?
In job processing, what happens in conversion stage?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Is automatic restart possible in jcl? If yes, how?
How to pass data to a program that is coded in an exec statement?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
I need exexution process for JCL programs
How do you access an uncatalogued dataset in a jcl?
Are there any set of rules for the names of the steps used in a job?