Is it possible using Embedded SQL or something else in RPG to directly update and MS SQL DB

15 pts.
Tags:
AS/400
Embedded SQL
SQL Server
I have a need to push data from the AS/400 to an SQL DB on an SQL 2008 server. I was wondering if there was a way to do this natively within RPG on the AS/400 without purchasing something. Was thinking embedded SQL or stored procedures might be able to accomplish this. Has anyone done this?

Software/Hardware used:
RPG - AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Minidach:

Using JDBC, you can directly access an MS-SQL database. If you visit the SYstem i Network
website and forums, you will find several articles, down-loadable code, etc.

You MAY be able to access an MS-SQL database using IBM i DB2 SQL, but I have not personally
done that.

HTH

Jon Juracich.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Minidach
    Thank you Jon! I'll look out there and see what I can find.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following