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
 

 

Copy last 10 generations of a GDG

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

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Wed May 18, 2005 12:32 am    Post subject: Copy last 10 generations of a GDG
Reply with quote

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
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed May 18, 2005 8:08 pm    Post subject:
Reply with quote

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
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Thu May 19, 2005 9:53 am    Post subject: Re: Copy last 10 generations of a GDG
Reply with quote

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
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 copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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