View previous topic :: View next topic
|
Author |
Message |
rainbow_enn
New User
Joined: 17 Sep 2007 Posts: 2 Location: china
|
|
|
|
I need to copy one VSAM file between different MF enviroments. There is shared DASD between these two enviroment, and I can't use xmit. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
On the original system:
Get the original DEFINE control statements and place them in a member on shared dasd. REPRO the data into a qsam file that is on shared dasd.
On the "new" system:
DEFINE the vsam file and all indexes. Load the data using IDCAMS or sort.
You have migrated the file to the new sysytem. |
|
Back to top |
|
|
rainbow_enn
New User
Joined: 17 Sep 2007 Posts: 2 Location: china
|
|
|
|
thanks a lot. Do you have the example for "copy vsam to qsam" and "load the qsam to vsam" ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can use IDCAMS EXPORT/IMPORT or IDCAMS REPRO to a flat file and then repro it into the new file, DFdss will work too, and so will FAVER (GVEXPORT / GVIMPORT) if you have it installed on your system. |
|
Back to top |
|
|
|