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 can we migrate data from VSAM to DB2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
master_linux
Warnings : 1

New User


Joined: 17 May 2006
Posts: 1
Location: mumbai

PostPosted: Thu Aug 31, 2006 4:40 pm    Post subject: How can we migrate data from VSAM to DB2
Reply with quote

Hello all ,

Can someone pls let me know way we can migrate data from VSAM to DB2 .
Please let me know exact way / methods to do that .

Also if anyone have tutorial please ......

Thanks ,

Tushar
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Aug 31, 2006 5:36 pm    Post subject: Re: How can we migrate data from VSAM to DB2
Reply with quote

First you need to REPRO the VSAM dataset to a sequential dataset and then load the sequential dataset into the table, provided that the table is created based on the VSAM dataset layout.

Check this link for a detailed explanation and examples of the IDCAMS REPRO command.

Check this link for a detailed explanation and examples of DB2 utility LOAD.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am


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