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 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