× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Barbara -

On Tue, 08 May 2007 12:30:11 -0400, Barbara Morris
<bmorris@xxxxxxxxxx> wrote:

Normally, it should be transparent, but due to the way the various
compilers handle some data types, some parameters passed by value would
be treated by the system as truly by-value, and some would be treated in
the sort-of-by-reference way. If you are mixing languages, be sure to
specify EXTPROC(*CWIDEN) or *CNOWIDEN or *CL, to ensure that the RPG
compiler will handle those data types the same way as the other
language. (You can code that EXTPROC whether your RPG programs are
calling a procedure written in the language procedure, or whether your
RPG procedures are being called by programs in the other language.)

There are compilers other than RPG??? <G>

Seriously, I was thinking strictly in terms of VALUE with no other
significant keywords because, other than a couple of multi-module
multi-language service programs, all of the procedure calls where I
work are ILE RPG to ILE RPG.

And even in the multi-module multi-language service programs, the
non-RPG procedures are not exported, they are called only by other
procedures in the service program. And none of them use parameter
types and sizes that are susceptible to the cross-language problems.

Ken

Ken
http://www.kensims.net/
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.