×
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.
A Java call can do it - but you need that expertise (and set up and
verify the runtime environment).
Any other ideas, anyone?
Ian
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
jeffw@xxxxxxxxxxxxxxxx
Sent: 10 May 2007 16:18
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.