Copying GDG



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Copying GDG

Postby Shakthivel V » Mon May 24, 2010 12:54 am

Hi.. Can i copy all the GDG files to 1 PS file ? If yes means how?

Please suggest..
Shakthivel V
 
Posts: 22
Joined: Thu Mar 04, 2010 12:12 am
Has thanked: 0 time
Been thanked: 0 time

Re: Copying GDG

Postby dick scherrer » Mon May 24, 2010 1:31 am

Hello,

Yes, simply specify the gdg name without specifying any generation for the input dataset.

Your sort product will probably be the fastest way to copy these files.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Copying GDG

Postby Shakthivel V » Mon May 24, 2010 2:06 am

Thanks.. if possible please give me one good small example..
Shakthivel V
 
Posts: 22
Joined: Thu Mar 04, 2010 12:12 am
Has thanked: 0 time
Been thanked: 0 time

Re: Copying GDG

Postby dick scherrer » Mon May 24, 2010 2:10 am

Hello,

Find any sort jcl on your system (or in this forum) and change to meet your requirement.

If you get stuck, post what you have and your doubt/error. Someone will be able to clarify.

We will help you get it running, but won't actually write it for you.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Copying GDG

Postby Robert Sample » Mon May 24, 2010 2:15 am

Copying the GDG base will copy the generations in reverse sequence -- most recent first, then next most recent, and so forth to the oldest generation. If you have a requirement to keep the data sequenced by generation, this solution won't accomplish that.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Copying GDG

Postby dick scherrer » Mon May 24, 2010 2:40 am

Hello,

If you have a requirement to keep the data sequenced by generation, this solution won't accomplish that.
Yes, the suggestion was a way to "stack'em" in a single dataset (as was requested).

If there are other considerations, they should be/should have been posted. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Copying GDG

Postby Shakthivel V » Mon May 24, 2010 3:54 am

Thanks Dick and Robert.. I will check this if i face any problem let you know..

Thanks for your help...
Shakthivel V
 
Posts: 22
Joined: Thu Mar 04, 2010 12:12 am
Has thanked: 0 time
Been thanked: 0 time

Re: Copying GDG

Postby dick scherrer » Mon May 24, 2010 4:54 am

You're welcome - let us know if there are questions or problems,

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post