View previous topic :: View next topic
|
Author |
Message |
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
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 |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And do you really mean version, or generation ? |
|
Back to top |
|
|
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi again !
So my intuition was just right. But i pressed the send button too late. |
|
Back to top |
|
|
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
I want to copy a gdg to another gdg.like we copy ps to ps |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
For 99.99% of the time, a gdg is a ps file. |
|
Back to top |
|
|
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
It should. |
|
Back to top |
|
|
|