Calling a stored procedure on a remote server using embedded SQL in a RPGLE program

200 pts.
Tags:
AS/400
RPGLE
RPGLE Program
SQL Server
I have written a RPGLE program in which I access a remote SQL server and then call a stored procedure on this SQL server. There are no parameters. I just call the stored procedure using embedded SQL in my RPG program. The program comes back with a -204 error code. It almost seems as if it cannot find the program and it is looking for the procedure on my AS/400. (This is just a guess) Any ideas of what could be wrong?

Software/Hardware used:
rpgle, as400 v7r1

Answer Wiki

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

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
  • TomLiotta

    ...in which I access a remote SQL server...

    What DBMS is running on the remote server?

    Tom

    125,585 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