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 FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 6 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


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