× 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 compiled my SQLRPGLE program with DBGVIEW(*SOURCE) and CALLED it from
a command line.  I can fetch the cursor contents into a DS table with no
problem.  However, when I call it as a Stored Procedure the result set
is still empty.  Ack!  Phht!  If I use RPG commands to populate the
table, I can see them in the result set but not if I use a cursor.

Here is the CREATE PROCEDURE code:

CREATE PROCEDURE library/rpgproc                         
(IN CDE CHAR (10), IN PRM CHAR (1024), OUT RTN INT)
DYNAMIC RESULT SETS 1                                    
LANGUAGE RPGLE  NOT DETERMINISTIC  CONTAINS SQL          
EXTERNAL NAME library/rpgproc                            
PARAMETER STYLE GENERAL WITH NULLS                       
CREATE PROCEDURE statement complete. 

Any ideas?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.