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



Is a trigger solution acceptable ?
Suppose you put a trigger on the right files, and progage the change to a
DDM file (based on a file in a central system)
Suppose that the central file has the same structure that the local one +
the system name.
On the central side, you will get in real time  or not far, all transaction
in one file, after that you can just assign each system names to a compagny
name and make a local SQL process agains the central file.

Not sure if i a am clear... poor english sorry.

----- Original Message ----- 
From: "Tom Huff" <tehuff@xxxxxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, December 15, 2006 4:43 PM
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 ...

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.