That's the plan if there's no way to trap.
Trying to avoid the infamous CPF4101 if library list not set :-)
Customer is retrofitting an existing 5250 app into a stored procedure
call to use parameter IO instead of screens.
They had just mentioned that *INZSR might function in this way, so I
wanted to verify.
Thanks for the feedback.
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
-----Original Message-----
------------------------------
message: 10
date: Wed, 31 Mar 2010 10:50:45 -0500
from: Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
subject: RE: Calling Stored Procedure that Calls CL that Calls RPG and
Returning Recordsets
Richard,
According to the ILE RPG Reference Manual, the *INZSR subroutine "...is
called at the end of the program initialization step of the program
cycle (that is, after data structures and subfields are initialized,
external indicators and user data fields are retrieved, files are
opened, data area data structures, arrays, and tables are loaded, and
PARM result fields moved to factor 1 for *ENTRY PLIST)."
Couldn't you just make the files USROPN?
Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.