How to createing new version of GDG with out loosing the
data in preaves GDG version?
Answers were Sorted based on User's Feedback
Answer / mani
Generations and versions are two different aspects of a GDG.
Generations is which everyone is aware of and its max limit
is 255.
For creating a new generation if we specify gdg base(+1)
then a new generaion would be created and we would be
specifying the dcb parameters for the new generation.
As per my knowledge generally all the gdg versions have the
same dcb parameters but when they change then we go for
specifying a version which means there is a difference in
the attributes of the gdg.
a version is used to continue the same gdg base with a
different set of attributes and it would be specified as
gdg base.v00 and the next would be gdg base.v01.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / radha
take backup of the generation and the create a new
generation with (+1) and define SPACE parameter in such a
way that it accomidates all your data
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / amrita
While mentioning the GDG file in JCL, write (+1) infront of
the file name eg: DD DSN=xxx.yyy(+1),DISP=(NEW,,)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / necron
Can you be a bit more specific, i did not get your question.
are you talking about the number of gdg versions to be
maintained? they can be set by the LIMIT parameter in the
GDG declaration.
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / guest
Hi,
The question speaks more about VERSION of GDG.
As of now the version will be always zero only.
If you want a versino in you GDG you need to specify,
dd DSN=A.B.D(0001)V01 and other parameters.
or rename the Generation.
| Is This Answer Correct ? | 1 Yes | 4 No |
What is an alternate index and path ?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
explain how do you define a gdg in vsam?
What is a CA, control area?
what is meant by BUFND & BUFNI..?
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
How can you create a VSAM dataset? Can you write a JCL for it?
Discuss record management in vsam?
in a cobol select statement, can you tell what is the organization for a ksds?
what is the difference b/w sequential and ESDS
What is recovery parameters in define cluster command?
What is the Difference between LDS & ESDS ?