× 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.



I had installed Ardgate some years ago, to communicate with SQL server data
I have had no problems with it
Did not know that it had been renamed

Alan Shore
Solutions Architect
IT Supply Chain Execution

[cid:image001.png@01D74654.CAE918B0]

60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx

'If you're going through hell, keep going.'
Winston Churchill

From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of LOGIC IT: Karl FRITZ
Sent: Tuesday, May 11, 2021 10:54 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] AW: How to access MS SQL Server 2019 from IBM i running v7r4

Maria,

Do you know the open source package "AppServer4RPG" (former Ardgate) from
Dieter Bender?
Maybe fulfil it your needs.

Link:
https://sourceforge.net/projects/appserver4rpg/<https://sourceforge.net/projects/appserver4rpg>

K.

-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Maria Lucia Stoppa
Gesendet: Dienstag, 11. Mai 2021 15:43
An: RPG programming on IBM i
Betreff: How to access MS SQL Server 2019 from IBM i running v7r4

Hi all,

First of all, hope you are all fine and healthy.

As stated in the subject, I would like to be able to run some DML SQL
statements periodically and programmatically to insert and update rows in
one or more MS SQL Server tables.

I looked for older threads about the same topic, but it seems to me that
they are too old and today other solutions may be available, hopefully.
That's why I submit the current question. Also, I am pretty sure I read a
similar question and a reply from Scott Klement but I wasn't able to find
it yet.

A linked server is already in place on the SQL server, so I know I can
access DB2 from the SQL server. What I need now is to write some ILE
programs where executing SQL statements to connect to the SQL server and
perform DML statements.

So far, I find difficult to figure out what's needed behind the scene.

Is a new RDBE enough and if yes how should it be set? I tried creating a
specific entry pointing to the SQL server port like this:
[image: image.png]
then executed this SQL connection:
[image: image.png]
with the right password but timed out with SQ30080 error code.

Does the SQL server be equipped with further software like SSHI to allow
DRDA services to load and if yes what's needed on IBM i side?

Are there other solutions based on some open software?

Thank you for any suggestion or example link you could provide me with.

--

Maria Lucia Stoppa
mlstoppa@xxxxxxxxx<mailto:mlstoppa@xxxxxxxxx>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l<https://lists.midrange.com/mailman/listinfo/rpg400-l>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l<https://archive.midrange.com/rpg400-l>.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com<https://amazon.midrange.com>

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l<https://lists.midrange.com/mailman/listinfo/rpg400-l>
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l<https://archive.midrange.com/rpg400-l>.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com<https://amazon.midrange.com>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.