|
I did not know. But thought he could put file in the IFS with a mapped drive then CPYFRMPCD to PF then read with RPG. It would not be direct link and the copy would probably take awhile with number of records. I go the other way process reads JDE and PKMS info and builds PF files then CPYTOIMPF each to QOpenSys/Dir/file. After that is done I run Remote command to run scripted DTS to build into SQL Server database. This was all new to me, still learning. Bill Hopkins Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 10/22/2003 11:54 AM Please respond to Midrange Systems Technical Discussion To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc: Subject: Re: Connecting to a database that is on Microsoft SQL Server 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 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.