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
 

 

How to copy VSAM file between different environments.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rainbow_enn

New User


Joined: 17 Sep 2007
Posts: 2
Location: china

PostPosted: Mon Sep 17, 2007 5:24 pm    Post subject: How to copy VSAM file between different environments.
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Sep 17, 2007 6:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
rainbow_enn

New User


Joined: 17 Sep 2007
Posts: 2
Location: china

PostPosted: Mon Sep 17, 2007 6:39 pm    Post subject: Reply to: How to copy VSAM file between different environmen
Reply with quote

thanks a lot. Do you have the example for "copy vsam to qsam" and "load the qsam to vsam" ?
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: Mon Sep 17, 2007 9:53 pm    Post subject:
Reply with quote

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
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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


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