View previous topic :: View next topic
|
Author |
Message |
Kuldeep Jolly
New User
Joined: 22 Oct 2008 Posts: 2 Location: India
|
|
|
|
I need to copy all the generations of a GDG into separate PS files or other GDG separate generations, but the problem is that we do not know how many generations we have for the GDG before the run, so is it possible that we can have a incremental loop applied to GDG's and checking for file existence, if the generation is there it will copy it? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And do not forget to read up on DFdss |
|
Back to top |
|
|
Kuldeep Jolly
New User
Joined: 22 Oct 2008 Posts: 2 Location: India
|
|
|
|
Hi ,
For this problem of copying all the versions of a GDG ( without knowing how many versions would be there before running the job) into separate PS file or another GDG separate versions, I used REXX to get a list of all the versions of GDG present but after that I am stucked how to use that list of versions and copy them to separate PS or another GDG separate versions. Could you please help me and send some sample code.
One more thing u have mentioned that we can easily handle this requirement thru DFDss but I am not aware of that could u plz explain it and send me some sample code for this requirement.
Thanks in advance! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Well, if you have a list of generations (not versions) then invoke ICEGENER, IEBGENER, DFdss or whatever product you use for copying. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
One more thing u have mentioned that we can easily handle this requirement thru DFDss but I am not aware of that |
Go to IBM's web site and find the DFSMS bookshelf; the Storage Administration Reference manual talks about DF/DSS and the various commands and options it has with examples. |
|
Back to top |
|
|
|