How to createing new version of GDG with out loosing the
data in preaves GDG version?

Answers were Sorted based on User's Feedback



How to createing new version of GDG with out loosing the data in preaves GDG version?..

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

How to createing new version of GDG with out loosing the data in preaves GDG version?..

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

How to createing new version of GDG with out loosing the data in preaves GDG version?..

Answer / anna

create a backup file

Is This Answer Correct ?    7 Yes 0 No

How to createing new version of GDG with out loosing the data in preaves GDG version?..

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

How to createing new version of GDG with out loosing the data in preaves GDG version?..

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

How to createing new version of GDG with out loosing the data in preaves GDG version?..

Answer / sriram

GDG reached it's limitation so but i want to add some more
data to that file.

Is This Answer Correct ?    2 Yes 4 No

How to createing new version of GDG with out loosing the data in preaves GDG version?..

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

Post New Answer

More VSAM Interview Questions

what are the different types of vsam files available? Explain them

1 Answers   IBM,


What is the use of access method services in vsam?

0 Answers  


Explain the catalog?

0 Answers  


can you specify some the distinctive features of a ksds, key sequenced dataset?

0 Answers   IBM,


How is record management performed in vsam?

0 Answers  






How to rename one vsam file as well as it's index?

4 Answers   BEA,


What is speed parameters in define cluster command?

0 Answers  


What is the COBOL RECORD KEY clause?

2 Answers  


Explain the index set?

0 Answers  


Explain the function of entry-sequenced data set?

0 Answers  


how to see the last records in vsam dataset??

1 Answers  


What is a vsam dataset?

0 Answers  


Categories