How do you find which GDG is using which dataset?
Answer Posted / stu
The question is confusing. A GDG (Generation Data Group)
consists of a base (no data, but defines the name, how many
generations of data files will be kept, etc.), and the
generations of data files.
The data files will all have the same file name except for
the last name node. Here are 3 generations of a GDG with
their actual file names.
xxx.xxxxx.xxxx.G000V01 alias=xxx.xxxxx.xxxx(-2)
xxx.xxxxx.xxxx.G000V02 alias=xxx.xxxxx.xxxx(-1)
xxx.xxxxx.xxxx.G000V03 alias=xxx.xxxxx.xxxx(0)
If another generation is created, G000V00, it becomes (0),
G000V03 becomes (-1), and so forth.
If the jcl cites xxx.xxxxx.xxxx by itself, it concatenates
all the existing generations in earliest to latest order.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Name the statement which can be used to send data to another mvs jes3 node?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How does jcl act on code(if you take a cobol program)?
How can the attributes of one sms dataset be copied to another dataset?
Is acct parameter mandatory?
What is Cataloged Procedures?
Explain how can a stopped job be started again?
What is the motivation behind coding class parameter in job statement?
How can unused space allocation be returned to the system when a dataset is closed?
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 “Cond= even” and “Cond=only”?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Give the syntax of job specifying jcl statement.
What is notcat 2 - gs?
What do you understand by the terms: joblib and steplib?