... CLI could only connect to databases talking DRDA. With CLI you are
dealing with handles, tied to a database connect. You could open multiple
connections and call APIs, telling by parameter to wich database your call
Using embedded SQL, or the other SQL interfaces of AS/400, you could connect
to databases talking DRDA and with ArdGate this is enhanced and you could
connect to (nearly) all databases of the market. You could open multiple
connections and keep them open, similar to CLI. YOu could have multiple
connections and one of them is current connection (very similar to current
library) and all SQL statemnets without specifying a Connection will go to
the current connection. Current Connection is changed by SQL statement set
connection (it's no open or close operation involved). With three part names
you could "qualify" the server, but this is not the current style of
programming with embedded SQL.
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Access mult DB with SQLRPGLE at 7.3?, (continued)
This mailing list archive is Copyright 1997-2021 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.