|
Hi Eric,
you can't use two connections in one SQL Statement, regardless which method
you would use.
It works like it works on AS/400, you make a connect to your MS_SQL_DB
(configured with ADDDRDBDIRE and 2 lines in the global.properties), preparing
and opening your cursor to fetch data from the MS_SQL_DB and then fetching
one record into your Host Variables (might be a DataStructure) then switching
the connection to your local database with set connection, updating your
local table (or whatever your want) switching back to remote with set
connection and so on...
You might have multiple Connections to diffrent locations (even Mix with DRDA
Connections) at the same time and switching from one to the other.
If You have further questions, it would be no problem to provide an example
doing this.
ArdGate is work in progress and there will come up manuals later on, first
priority at the moment is marketing, the more users it has the faster it will
grow in functionality, second priority is to complete functionality for
Milestone 4 (select into, positioned uopdate operations and completing to
support all SQL statements). Milestone 5 will provide commitment controll.
regards
Dieter
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.