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



Do you need to return single values or a list of something? Single vales are done like RPG to RPG as *ENTRY parameters you pass back. The stored procedure definition has to match your *ENTRY statement exactly. If it's a list of items you use an multiple occurrence data structure and pass back a result set. A result set is not sent back using the *ENTRY list you need a little SQL code in the RPG app to do that.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of DLee@xxxxxxxx
Sent: Wednesday, April 22, 2009 12:29 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: External Stored Procedures with Imbedded sqlrpgle

I'm working on retreiving a list of names and policies for an application
that will pass the data to a network C# program.

In coding the sqlrpgle, I realizing I don't know quite how to return the
data to the stored procedure.

I have an *entry setup that looks like this ( I know, old code) that has
basically last name, first name, policy

C *ENTRY PLIST
C PARM LNAM
C PARM FNAM
C PARM POLM

Darrell Lee
Information Technology
Extension 17127

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.