× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> From: "Lance Gillespie" <lgillespie@cvwd.org>
> I want to write a program in VB that communicates with
> my iSeries to return data.

Lance,

If you're interested in communicating via socket, you might consider testing
with an OS/400 HTTP Server to handle requests from your VB program.
Consider the following link:

http://www.relational-data.com/rdweb/sl200/stulist.isp

This link doesn't return HTML - just a short list of records where fields
are delimited by double quotes, and separated by commas.  One of my
colleagues requested this link to test an alternative to his comparatively
poor performing JDBC connection from a Java applet.  You'd be welcome to use
the link to test your VB program.

After the socket is open, just send the following string:

GET /rdweb/sl200/stulist.isp HTTP/1.1

Your VB program will receive a text response that includes a few HTTP
Headers (which you can ignore) followed a double carriage-return line-feed
sequence (HEX 0D0A0D0A), followed by the real database records.

Nathan M. Andelin
www.relational-data.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.