× 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.



Oh, well if it's an SQL program, I would think you're all set.  Now, it
depends on how you want to select the data, but can you...
Connect SystemA
Fetch
Connect SystemB
Fetch
Connect SystemC
Fetch...  ?

Remember, you'll need an SQL Package on each non-local system you access
via SQL.  This package needs to be recreated every time the module is
changed.  CRTSQLPKG. 


Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: rpg400-l-bounces+kjanderson=highsmith.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+kjanderson=highsmith.com@xxxxxxxxxxxx] On
Behalf Of Tom Huff
Sent: Friday, December 15, 2006 9:43 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: SQL Across Multiple AS400's

The problem is I have an inquiry program written across files in
multiple
libraries(1 per company) and we now have bought another company aand for
the next year or so, the inquiry needs to select employee records from
24 different companies, 12 or so on each as400. 
Further complicating the problem, is the fact that the program uses SQL
entirely, so no DDM files, unless I rewrite the program to use RPG.
This is all possible, I am just trying to avoid it.

The program gets transactions from any company that an employee has
worked for and displays the results in a subfile.

Any help is greatly appreciated.

Thanks
Tom

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kurt Anderson
Sent: Friday, December 15, 2006 5:34 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: SQL Across Multiple AS400's

You could create DDM files.  I really don't know much at all about DDM
files, but they are like pointers to a file on another system I guess,
but you treat them as a normal file.  Can't SQL DDM files though.  I
also don't know if you can have multiple DDM files, each pointing to a
different system.  Something to look into though. 


Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Huff
Sent: Friday, December 15, 2006 12:35 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: SQL Across Multiple AS400's


Does anyone have an example of how to get information from files from
multiple AS400's with SQL ?
Thanks
Tom

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.