× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Since IBM as chosen not to give DB2 on the iSeries even the most basic
of federation capability, you can't do what you want within just the
i.

What you can do, purchase the DB2 Federation Server (new name IBM
InfoSphere Federation Server?) to run on a LUW box. Within that you
can link to FileA1 on LPAR A and FileB1 on LPAR B.

Then back on the i, you can connect to the Fed Server DB, and run your query.

Seems silly to me to have to send the local data out of the box just
to receive it back, but that's your only option at this point.

I think there's some similar 3rd party products.

If you're feeling adventurist, you could look at using Apache Derby
http://db.apache.org/derby/ as some sort of local to the i Federation
service.

Have fun!
Charles

On Mon, Feb 2, 2009 at 1:26 PM, Jim Essinger <dilbernator@xxxxxxxxx> wrote:
In researching the archives and the books I have on SQL, what I want
to do does not seem possible, but I though I would ask the GURU (read
geek) list.

I am running STRSQL on LPAR A, and want to access FileB1 on LPAR B. I
know that I can CONNECT to LPAR B through a WRKRDBDIRE entry pointing
via TCP/IP to LPAR B. I now want to join FileB1 with FileA1 from
LPAR A to create a result set.

Can I have two database connections active in the same session? Is
there another way to use SQL to get information from both LPARs in the
same SQL statement?

Thanks for any suggestions

Jim
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.