|
CALLPRC has a parm called RTNVAL that will get the return value of a procedure. Scott Mildenberger > -----Original Message----- > From: rob@dekko.com [mailto:rob@dekko.com] > Sent: Friday, February 22, 2002 7:32 AM > To: rpg400-l@midrange.com > Subject: RE: Using subproceedures in CL programs > > > > I've kind of lost your original question. There are a couple of > possibilities, having forgotten some information about this thread. > 1) CALLPRC a RPGLE subprocedure which calls the original > subprocedure, but > returns the value via the parameters and not the PI itself. > 2) Try to avoid using CL. But this is why I put the first couple of > sentences in this reply. > > Rob Berendt > --
As an Amazon Associate we earn from qualifying purchases.
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.