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
 

 

Loading data from mainframe to AIX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
VIDHYA S

New User


Joined: 10 Apr 2008
Posts: 18
Location: chennai

PostPosted: Wed Jul 29, 2009 4:37 pm    Post subject: Loading data from mainframe to AIX
Reply with quote

Hi all,

We have a requirement of loading the data from mainframe DB2 to AIX.
One way of loading the data across platforms is by using DB2 connect we can export and import the data from DB2 mainframe to aix and vice versa .
What are the other possible ways to load the data from DB2 mainframe to AIX.
Please provide me suggestions if any.
Back to top
View user's profile Send private message

karisurya

New User


Joined: 02 Aug 2007
Posts: 64
Location: Bangalore

PostPosted: Wed Jul 29, 2009 4:43 pm    Post subject:
Reply with quote

I worked with some conversion projects from different systems to AIX,

what we used to do is dump all data from db2 to comma delimited text files, find out relations between the flat file and AIX files (index files) and load it accordingly.

This worked perfectly for us as most of the time we are converting other clints data who are converiting to our system. I guess for your requirement You can work out on some what similar lines.

I hope it helps you.
Back to top
View user's profile Send private message
VIDHYA S

New User


Joined: 10 Apr 2008
Posts: 18
Location: chennai

PostPosted: Wed Jul 29, 2009 5:18 pm    Post subject:
Reply with quote

Thanks suriya for your immediate response and suggestions.

How can I extract the data to CSV format(by using tools or it can be done manually ).

After extracting to the CSV files shall we FTP the data to the AIX server.

Correct me if I am wrong.
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: Thu Jul 30, 2009 7:00 am    Post subject:
Reply with quote

Hello,

When downloading data from mainframe database, one way that works well is to create a delimited file (the tab character works well - x'05') and make sure all numeric values are converted to an edited value that contains the decimal point (if appropriate) and the minus sign for negative numbers.

Once the file has been created, downloading to the target system may be done using ftp.
Back to top
View user's profile Send private message
VIDHYA S

New User


Joined: 10 Apr 2008
Posts: 18
Location: chennai

PostPosted: Fri Jul 31, 2009 10:27 am    Post subject:
Reply with quote

Thanks Dick&Surya,

I tried with the UNLOAD utility with DELIMITED option..I was able to create a delimited file and able to load to the other platform.
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: Sat Aug 01, 2009 4:35 am    Post subject:
Reply with quote

Good to hear it is working - thanks for letting us know icon_smile.gif

d
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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