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: 755
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: 755
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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