|
CALLPRC accepts a return value on the RTNVAL keyword. > -----Original Message----- > From: M. Lazarus [SMTP:mlazarus@ttec.com] > Sent: Saturday, March 31, 2001 10:39 PM > To: RPG400-L@midrange.com > Subject: Re: I gave too much info the last time. > > Charlie, Steve, > > You can call a module from CL as a procedure, not as a function. > > Example: CHGVAR &X RPGMOD( &Parm ) will not work, of course. > > -mark > > At 3/30/01 06:05 PM -0500, you wrote: > > > Now I understand. Try the following in your CL module:: > > CALLPRC PRC(RPGMOD) PARM(&PARM1 &PARM2) > > Charles L.Massoglia, President > Massoglia Technical Consulting, Inc. > cmassoglia@voyager.net <mailto:cmassoglia@voyager.net> > In MI 517-676-9700 or in NC 919-363-9395 > > > ----- Original Message ----- > From: Steve Moland <mailto:Steve@Accessp.com> > To: Rpg400-L-Digest (E-mail) > <mailto:rpg400-l-digest@midrange.com> > Sent: Friday, 30 March, 2001 16:04 > Subject: I gave too much info the last time. > > Sorry about this second try. I gave the reason why I wanted > to do something last time and that distracted all the responders from the > real answer I was looking for. > > Can I create a CLLE module which is linked with an RPG > Module WHERE the CL code calls or uses the RPG module as a function. Not > the other way around. > > ...and if so, what does the CL code look like that calls or > used the function. > > Steve Moland > ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which maybe confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************ +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.