Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8629
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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts Copy Specific Groups V S Amarendra Reddy SYNCSORT 10 Thu Jan 11, 2018 1:16 am
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us