What is GDG?
Answer / guest
GDG - group of dataset that are logically or chronologically
related, referred by name and a relative generation number -
an integer which identifies the generation of a dataset and
is coded in parentheses after dataset name. Absolute GDG
name - GxxxxVyy, where xxxx-absolute gen. number, yy-version
number. Can be sequential, direct, partitioned. (VSAM - no).
Must always be cataloged. Advantage - all datasets have the
same name and system keeps track of adding new and retaining
previous generations and deleting oldest successive
generation. To create a GDG we create a GDG index in the
system catalog with IDCAMS utility and then a model
(prototype, DSCB) on the same volume to supply DCB
information. Empty - when limit is reached all members are
removed from the index, otherwise-only oldest.
Scratch-removed members are uncataloged & deleted, otherwise
- removed & uncataloged, but remain in the system (not
members of GDG any more). GDG number is updated at the end
of the job. If number is not specified all generations will
be processed from the beginning
| Is This Answer Correct ? | 3 Yes | 0 No |
read all error codes like SB07?
How many days does a job remain in spool
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
wht is step lib n job lib ? where can we code joblib n steplib ?
what is the difference between static call and dynamic call?
Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
What is maximum length of block size?
5 Answers Cap Gemini, Kanbay, TCS,
Is automatic restart possible in jcl?
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?