Home > Ask the AS/400 Experts > DB2/400 and DB2 UDB Questions & Answers > Extracting data from Oracle database
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Extracting data from Oracle database

Kent Milligan EXPERT RESPONSE FROM: Kent Milligan

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 23 May 2005
We have a Oracle V8i sitting on a Sun Solaris Server. We have another DB2 database on iSeries (version V5R3M0). Our aim is to extract data from the Oracle database every 30 minutes (it will not be a straight pull but will involve massaging the data) and loading onto DB2/400. At the moment there is no connectivity between these two servers.

Could you please suggest what should be our approach and any solutions would be much appreciated.

We've thought of following.

1. Pulling data using FTP (our iSeries has a FTP server setup). But I'm not sure if I can run a Unix Script to connect to this FTP server on Solaris. If I have to use FTP on Solaris, do I have to use any special add-ons?

2. Oracle Gateways on the iSeries: Our DBA is working on this scenario, but we're not sure if this is the way to go.


>
You have a couple of options. If your IT staff has Java skills, one approach would be to write Java code that uses type 4 JDBC drivers to access the Oracle database, massage the data, and populate the iSeries DB2 databases.

If your company is lacking Java skills or would prefer another method, you might want to consider Websphere Information Integrator (Formerly DB2 Information Integrator - DB2 II). When you need to access a non-DB2 data source from an iSeries program written in any high-level programming language, DB2 II is a great solution. Be warned that it does require the data access to be performed with an SQL-based interface such as CLI, embedded SQL, or JDBC. For more information on DB2 Information Integrator and other methods of accessing non-DB2 data sources, view the white paper "Heterogeneous Data Access for iSeries Applications"

Regarding the FTP question, you can use FTP to pull data from a Solaris server. You would first want to export the Oracle data into a delimited format and than FTP the delimited data to the iSeries server and then use the CPYFRMIMPF CL command.

There are also third-party data replication products that support going from Oracle to DB2 UDB for iSeries.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Visit the ITKnowledge Exchange and get answers to your DB2 questions fast.

Check out this Search400.com Featured Topic: Expert advice on DB2

Search400.com's targeted search engine: Get relevant information on DB2/400.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
DB2/400 and DB2 UDB
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Developing tables in a parent-child relationship in DB2
SQL server error message -321
Creating a host variable of the 'where in' statement in SQL
Choose which column names are returned via ODBC when working with DB2 files
Allow access to data from a stored procedure result set using COBOL or RPG
Access path and an open data path differences
Convert a numeric physical file to a character in SQL without leading zeros
Inserting data from a CTE into a file in SQL

DB2 UDB (universal databases)
Oracle boasts 11g on SPARC is faster than IBM DB2 on Power 595
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Developing tables in a parent-child relationship in DB2
SQL server error message -321
Creating a host variable of the 'where in' statement in SQL
Choose which column names are returned via ODBC when working with DB2 files
Access path and an open data path differences
Database performance comparisons on IBM i
Implement variables in SQL when creating an alias
DB2 UDB (universal databases) Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts