IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy generations of a GDG to another.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepthi Budhiwant

New User


Joined: 15 Dec 2008
Posts: 6
Location: Pune

PostPosted: Mon Dec 29, 2008 1:53 pm
Reply with quote

Hi,
I have a GDG base with 10 generations.
I need to copy 5 generations from this GDG to another GDG that has been created in the previous jobstep in the same job.
The output GDG should contain 5 generations corresponding to 5 input generations.
Can anybody suggest on how this can be implemented.
Thanks,
Deepthi
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Dec 29, 2008 2:10 pm
Reply with quote

Hello and welcome to the forums,

Create 5 "copy" steps using iebgener, sort, or some other utility.
Back to top
View user's profile Send private message
Deepthi Budhiwant

New User


Joined: 15 Dec 2008
Posts: 6
Location: Pune

PostPosted: Mon Dec 29, 2008 2:47 pm
Reply with quote

Hi Dick,

Thanks, but is there any way to do that in one or two steps as 5 gen. was example but actually I have more generations to be copied.

Thanks,

Deepthi
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 29, 2008 2:51 pm
Reply with quote

Write a REXX code to do it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top