View previous topic :: View next topic
|
Author |
Message |
VIDHYA S
New User
Joined: 10 Apr 2008 Posts: 18 Location: chennai
|
|
|
|
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 |
|
|
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
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 |
|
|
VIDHYA S
New User
Joined: 10 Apr 2008 Posts: 18 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
VIDHYA S
New User
Joined: 10 Apr 2008 Posts: 18 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thanks for letting us know
d |
|
Back to top |
|
|
|