Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > Re: Moving tabl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 8819 of 9520
Post > Topic >>

Re: Moving tables between an iSeries and DB2 for Linux

by "The Boss" <usenet@[EMAIL PROTECTED] > Apr 24, 2008 at 07:39 PM

c0d3lib@[EMAIL PROTECTED]
 wrote:
> On Apr 24, 5:42 pm, Karl Hanson <kchan...@[EMAIL PROTECTED]
> wrote:
>> c0d3...@[EMAIL PROTECTED]
 wrote:
>>
>>    <snip>
>>
>>
>>
>>> Thanks for the reply, Larry.  Yes, The scenario you described is
>>> what I'm trying to achieve.  The tables will reside on the DB/2 for
>>> Linux host, and need to be accessible to the iSeries RPG/CL
>>> programs.  As for your question about migrating the code, this
>>> would play into a larger strategy that allows us to migrate some of
>>> the more interesting processes of a legacy iSeries application.
>>> The application is way too large to try migrating the entire thing.
>>
>>> Have you ever tried or seen a similar implementation using the
>>> iSeries as a client to any non-iSeries system?  Do you know of any
>>> issues I should be expecting, such as the differences in security
>>> implementations, etc?  Performance is already a concern, but all I
>>> can do there is measure the differences once I have at least a basic
>>> configuration established.
>>
>> DDM provides a different level of function than DRDA. DDM allows
>> fairly
>> transparent trans****t of "file I/O" requests from the System i
>> running
>> the RPG application, to a remote System i (for example) that can
>> perform
>> these file I/O requests.  The RPG program will typically do I/O
>> requests
>> such as read by key (SETLL?), read next key equal, read by relative
>> record no., etc. As Larry mentioned, these are not SQL operations and
>> DB2 for LUW does not sup****t "files", nor this type of file I/O
>> (because
>> it is not, and does not map to,
>>
SQL).http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic...
>>
>> DRDA on the other hand allows trans****t of SQL requests between
>>   systems. But since your RPG programs do file I/O and not SQL, DRDA
>> would not
>> sup****t your proposal. In other words, there is no function to
>> automatically convert file I/O requests to SQL requests, as part of
>> either DDM or DRDA. As you correctly surmised, in order to use DRDA
>> (SQL), the RPG file I/O would need to be appropriately replaced with
>> embedded SQL, or the
>>
equivalent.http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic...
>>
>> If the business logic to maintain the data currently resides on
>> System
>> i, what is the motivation to move the data to DB2 on Linux?  If Linux
>> access to data on System i is the goal, could facilities like ODBC or
>> JDBC (ie on a Linux client) provide that, w/o migrating the data?
>>
>> --
>> Karl Hanson
>
> The business logic is being migrated in pieces, so not all of it will
> reside on the iSeries, but inevitably there will be non-migrated
> processes that will still require access to the same files.
>
> My misunderstanding of DRDA and DDM is that I thought DDM was a subset
> of DRDA.  I was under the impression, any operation a program could
> perform using DDM would translate to some function in DRDA and hence
> to SQL concepts.  Thanks for clearing that up for me.

Disclaimer:
I have no experience with iSeries, AS/400, RPG etc.

That being said, a quick Google-search for "db2+migration+rpg+linux" gave
a 
number of promising hits, for instance these 2 links for a company called 
PKS:
http://www.pks.de/products/iSeries/migration_tools_400.htm
http://www.pks.com/english/aktuelles/pdf_dateien/2008/PKS%20MM%20JAN08%20E.pdf

HTH

-- 
Jeroen
 




 7 Posts in Topic:
Moving tables between an iSeries and DB2 for Linux
c0d3lib@[EMAIL PROTECTED]  2008-04-23 04:11:00 
Re: Moving tables between an iSeries and DB2 for Linux
Larry <larry@[EMAIL PR  2008-04-23 17:03:30 
Re: Moving tables between an iSeries and DB2 for Linux
c0d3lib@[EMAIL PROTECTED]  2008-04-24 04:53:58 
Re: Moving tables between an iSeries and DB2 for Linux
Karl Hanson <kchanson@  2008-04-24 10:42:45 
Re: Moving tables between an iSeries and DB2 for Linux
Larry <larry@[EMAIL PR  2008-04-24 20:38:26 
Re: Moving tables between an iSeries and DB2 for Linux
c0d3lib@[EMAIL PROTECTED]  2008-04-24 09:59:37 
Re: Moving tables between an iSeries and DB2 for Linux
"The Boss" <  2008-04-24 19:39:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:03:28 CST 2008.