Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copying first 100 generations of the GDG to another GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Wed Oct 31, 2007 11:12 am    Post subject: Copying first 100 generations of the GDG to another GDG
Reply with quote

Hi all,

I have a requirement in which i need to copy the first 100 gen of the GDG to another GDG.

say GDG1 has 200 gens, i need to pull out first 100 and put them as separate gen in another GDG2. So now my GDG2 will have 100 gen. The reason we need to do this is coz the flow of the files is huge and it might go beyond 255 at some point. in that case i might loose my unprocessed generations as well.

so any time when the count of gen goes to 200 a job will run and move the first 100 gen to a new GDG.

Any inputs will be of great help

Thanks
Back to top
View user's profile Send private message

Binaya

New User


Joined: 03 Jul 2007
Posts: 77
Location: Hyderabad

PostPosted: Wed Oct 31, 2007 11:52 am    Post subject: Re: Copying first 100 generations
Reply with quote

For copying 100 versions I believe concatination is the only way.
For all the versions we could have copied the base itself.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 31, 2007 8:39 pm    Post subject:
Reply with quote

Hello,

I believe you misunderstand how generations are handled. You can only refer to 255 by relative number (i.e. 0, -1, -5, etc), but you can have thousands of generations active (your.dsn.GnnnnNnn).

If you search in the forum, this was also a topic not long ago.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare each GDG Generations to other... Ayyappa1 JCL & VSAM 13 Tue Jun 28, 2016 1:48 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts Editing "member generations"... Ricardo Viegas TSO/ISPF 1 Tue Dec 29, 2015 7:27 pm
No new posts Copying VSAM to VSAM with variable re... mfuser.84 DFSORT/ICETOOL 1 Mon Oct 12, 2015 5:00 pm
No new posts Issue with copying PDS members to ano... Senthilkumar k CLIST & REXX 13 Mon Apr 20, 2015 1:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us