|
Yeah...that's how I'm making the connection. And I *do* connect...but when I access the table with a SELECT (using a cursor), I immediately hit end of file. I'm thinking there's a CCSID issue here someplace. > -------- Original Message -------- > Subject: RE: Accessing DB2 Data from Windows > From: "Tyler, Matt" <mattt@xxxxxxxxxxxxxx> > Date: Thu, February 09, 2006 1:13 pm > To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> > > Have you tried to CONNECT command in the SQLRPGLE? See the SQL > reference (pages 416 - 420 (in V5.2)). > > Thanks, Matt > > > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of > michael@xxxxxxxxxxxxxxxxxx > Sent: Thursday, February 09, 2006 11:09 AM > To: midrange-l; rpg400-l; java400-l java400-l > Subject: Accessing DB2 Data from Windows > > (Cross posting to midrange-l, rpg400 and java - followup wherever David > indicates) > > I've been trying to access DB2 data on a Windows system from an SQLRPGLE > program. I'm having major difficulties, and now I'm wondering if my > approach (DRDA) even makes sense. I'm looking for suggestions on how to > access UDB DB2 data from an SQLRPGLE program. All ideas considered. btw, > it's simple as pie to access the data from an interactive SQL session. > > Thanks... > > > -- > > 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 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.