View previous topic :: View next topic
|
Author |
Message |
sunojsm Warnings : 1 New User
Joined: 21 Jun 2004 Posts: 33 Location: Andorra
|
|
|
|
Hi all,
I want to copy the last 10 generations of a GDG (which has
250 generations in it) without mentioning them in DD DSN
i.e.
I don't want to mention like
Code: |
//SYSUT1 DD DSN=PC1.COMMERCIAL.STATFILE(0),DISP=SHR
// DD DSN=PC1.COMMERCIAL.STATFILE(-1),DISP=SHR
// DD DSN=PC1.COMMERCIAL.STATFILE(-2),DISP=SHR
----------------------------------------
----------------------------------------
// DD DSN=PC1.COMMERCIAL.STATFILE(-9),DISP=SHR
|
I want to copy without mentioning individual generations
as concatenating datasets.
Is there a way to code so as to get the above result
without including the list of generations as Concatenating
datasets. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
I think that to copy a range of gdg you can use 3 methods:
1) with the base entry(the root) to copy all the versions;
2) with your method as above;
3) with full qualify of gdg level as G0001V00 etc. |
|
Back to top |
|
|
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
I think MGIndaco is correct. You can not code the concatenation GDG file for a specific no. Either you have to go for individual referrence or by giving the version. |
|
Back to top |
|
|
|