Internal structure of SQL Server is not known to iSeries DB manager. Needs some kind of SQL translator, like ODBC or JDBC or DRDA. You can "map" to files on an SQL Server box, using the /QNTC file system, but they will not be usable. M$ never saw fit to write a DRDA provider (analogous to IBM writing an ODBC driver for DB2) for SQL Server - too bad.

Anyway, there's probably never going to be a way to use it with RPG, except with embedded SQL - if there were a DRDA provider, which there is not. Left with Java or that other IBM product.

HTH

Vern

At 11:00 AM 10/22/2003 -0400, you wrote:
I go the other way, with a mapped drive on PC side.  Drive is mapped to
DIR QOpenSys/DIR Name/File on iSeries. SQL Server points there on DTS.
Have tried other way but don't see why it would not work.

Bill Hopkins

Rich_Weislak@xxxxxxxxx
Sent by: midrange-l-bounces@xxxxxxxxxxxx
10/22/2003 10:33 AM
Please respond to Midrange Systems Technical Discussion

To: midrange-l@xxxxxxxxxxxx
cc:
Subject: Connecting to a database that is on Microsoft SQL Server


All:

   Is there a way from the 400 side to either make a link to a Microsoft
SQL Server database, I know I can copy it to the 400, but this database
has
4 + millions records in it, so if I could just some how create a link to
and open in up in a RPG program,

Rich



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.