How do you find which GDG is using which dataset?
Answers were Sorted based on User's Feedback
Answer / karthik .k
GDG datasetname(-1)-previous version
(0)-current version
(+1)-next version
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / balu
gdg data set(0) we can know which data set gdg is using
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
What is GDG and what is the maximum limit of versions that can be created?
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
Can you give the sort card to arrange the specific column in the version of GDG.
when does a dataset go uncataloged?
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
How is a type of file defined in the jcl that executes the cobol program?
Explain how can a jobs execution priority be modified?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
In SPACE,what is directory,RLSE
What are the rules employed while naming the steps in a job?
What is a COND parameter in JCL?