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

gdg file to gdg file copy


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

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Wed Jan 07, 2009 2:48 pm
Reply with quote

I want to copy a gdg which is from a system to another gdg file in another system.Do anyone have a sample jcl for gdg to gdg copy? what will be the versions in this case?
Back to top
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Wed Jan 07, 2009 3:26 pm
Reply with quote

Hi Jemon,

Please elaborate your problem...what I understand is you want to copy a GDG version to another one.But, I am not clear about the system.
Are you referring to Test and Production system in Mainframes??



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

Global Moderator


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

PostPosted: Wed Jan 07, 2009 3:37 pm
Reply with quote

And do you really mean version, or generation ?
Back to top
View user's profile Send private message
jemonthomas

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Wed Jan 07, 2009 4:51 pm
Reply with quote

I mean generation not version.i want a jcl to copy a gdg which is created from a system called cdw to another gdg which is a gdg in another system called ciw
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Jan 07, 2009 4:54 pm
Reply with quote

Hi !

I think he wants to transport/copy a file, which is a GDG-Dataset, from System-A to System-B. Nothing more than a simple ftp.

I'm also not clear if he's talking about versions or genereations, but probably he means generations i think. And the generation on the receiving system will be the first, if there are none before.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Jan 07, 2009 4:57 pm
Reply with quote

Hi again !

So my intuition was just right. But i pressed the send button too late.
Back to top
View user's profile Send private message
jemonthomas

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Wed Jan 07, 2009 5:42 pm
Reply with quote

I want to copy a gdg to another gdg.like we copy ps to ps
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Jan 07, 2009 5:45 pm
Reply with quote

For 99.99% of the time, a gdg is a ps file.
Back to top
View user's profile Send private message
jemonthomas

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Wed Jan 07, 2009 5:51 pm
Reply with quote

Code:

//SORT001  EXEC PGM=SORT
//SYSOUT    DD  SYSOUT=*
//SORTIN    DD  DSN=ITA.PROD.CDW.JRC10DSA.RECON(0),DISP=SHR
//SORTOUT   DD  DSN=PCIW01.CIW.JC110RCN(+1),
//          DISP=(,CATLG,DELETE),UNIT=...,SPACE=...
//SYSIN     DD   *
  OPTION COPY
/*
//*


will this workout???
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jan 07, 2009 5:55 pm
Reply with quote

It should.
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 How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top