×
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.
Jeff,
I think if you take a look in the archives, you'll find several ways to
do this. You may also want to check out the WEB-400 list as well.
Matt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
jeffw@xxxxxxxxxxxxxxxx
Sent: Thursday, May 10, 2007 11:18 AM
To: RPG programming on the AS400 / iSeries
Subject: Connecting to SQL Server
Hi everyone. I have project that requires information from a SQL server
back
to the AS/400 in my program. I have never had the need to connect to an
external server to retreive information back for my programs before. So
my
question is:
What is the best way to connect to the server in my program? I was
leaning
towards using an SQL statement in my CL program. Does anyone have a
sample
of a connection string that I could use as a guide? Or is there a better
method.
The program logic will be the user will an item number in the AS/400 it
will
then merge information from the DB2 and the SQL server and present it on
the
screen or a report.
Any help will be appreciated. Thank you
Jeff Williams
As an Amazon Associate we earn from qualifying purchases.