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 |
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
what is JCL?
How to do automated restart when a job abend?
I had 100 steps in jcl i want to execute first 10 steps only?
Is condition checking possible in jcl?
What is meant by S0C7 system abend code?
Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.
What is COND=EVEN ?
What does a disposition of (new,catlg,keep) for a dsn mean?
Give the syntax of job specifying jcl statement.
What is the use of symbol // in jcl?
i have step1,step2,step3 from where can i start coding cond parameter ?