Hello All,

I'm pretty sure this won't work, but I will ask.

I have created an RPG stored procedure program that when called directly
from the stored procedure returns recordsets just fine. Good !

Would like to perform some setup stuff such as OVRDBF, etc to make sure
lib list and other stuff is good to go.

Tried putting a CL in front of the RPG call to do the overrides, but NO
recordset gets returned. Most likely because of the CL call between the
SPROC and the RPG.

So the questions:

1.) Can a CL program be called from a stored procedure that calls an RPG
and ultimately returns a recordset ? (I'm guessing not.)

2.) Is using *INZSR a better alternative that will work so I can just
call the RPG and do all the setup stuff there. Some of the discussions
I've seen say that *INZSR happens before file opens, etc....

Thanks in advance for any insight.

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT



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.