Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us