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
 

 

gdg file to gdg file copy

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: gdg file to gdg file copy
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 07, 2009 3:37 pm    Post subject:
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    Post subject: gdg file to gdg file copy
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: 743
Location: Germany

PostPosted: Wed Jan 07, 2009 4:54 pm    Post subject:
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: 743
Location: Germany

PostPosted: Wed Jan 07, 2009 4:57 pm    Post subject:
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    Post subject: hi
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 07, 2009 5:45 pm    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Jan 07, 2009 5:55 pm    Post subject: Reply to: gdg file to gdg file copy
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    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 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
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


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