MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 to VSAM and vice versa

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
ibmprofessional
Beginner


Joined: 23 Mar 2003
Posts: 2
Topics: 2

PostPosted: Sun Mar 23, 2003 2:12 am    Post subject: DB2 to VSAM and vice versa Reply with quote

Hi all,

I have data in DB2 table.I want to move it to a vsam dataset.How do i do it without using exec cics write .... command.

Also let me know how to move vsam data to DB2 table.

Thanking all of you,
ARV
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Sun Mar 23, 2003 7:35 am    Post subject: Reply with quote

ibmprofessional,

For the first query unload the db2 table and REPRO the unloaded data to the VSAM dataset.

For the second scenario , you can load the data from vsam dataset.

or you can write simple cobol program to achieve both of them above mentioned cases.

Hope this helps..

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group