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


Please Help Members By Posting Answers For Below Questions

Name the statement which can be used to send data to another mvs jes3 node?

600


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


How does jcl act on code(if you take a cobol program)?

705


How can the attributes of one sms dataset be copied to another dataset?

846


Is acct parameter mandatory?

758






What is Cataloged Procedures?

711


Explain how can a stopped job be started again?

636


What is the motivation behind coding class parameter in job statement?

680


How can unused space allocation be returned to the system when a dataset is closed?

806


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

1033


what is “Cond= even” and “Cond=only”?

737


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?

1805


Give the syntax of job specifying jcl statement.

636


What is notcat 2 - gs?

932


What do you understand by the terms: joblib and steplib?

621