How to use RPGLE function/program as a function in STRSQL

60 pts.
Tags:
RPGLE
RPGLE Stored Procedures
STRSQL
Hi All,

I have an RPGLE program which takes as a input value and update it and return the updated value.

I want to use this RPGLE program through SQL while executing SQL scripts.  I did not remember the procedure to use it, but I have used in the past.  Any of you have idea that, how to use RPGLE program as a function in SQL.

Thanks.

Regards,

Subba Rao.

Answer Wiki

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

I believe this will help under <a href=”http://www.redbooks.ibm.com/redbooks/pdfs/sg246503.pdf”>External Stored Procedure</a>

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
    This is a *PGM rather than a *SRVPGM? Then carefully review the CREATE FUNCTION SQL statement documentation. Pay special attention to PARAMETER STYLE SQL and note the restrictions on the other parameter styles. 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