×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.



  • Subject: Re: I gave too much info the last time.
  • From: "M. Lazarus" <mlazarus@xxxxxxxx>
  • Date: Sat, 31 Mar 2001 22:39:27 -0500

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
In MI 517-676-9700 or in NC 919-363-9395
----- Original Message -----
From: Steve Moland
To: Rpg400-L-Digest (E-mail)
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.