I agree with the situation about those having only CL available [I have even been in situations where that was the effective scenario], and that the value in knowing how to do the work in CL irrespective of its potential usefulness generally... because they are educational.

I just want to clarify however, that the OP noted [and to what and why I responded was] that the issue involved an educational example of ILE CL calling a procedure with CALLPRC; i.e. for a "presentation" that was being prepared. I was of the opinion that FLOAT was an unnecessary complexity which could easily be avoided; i.e. there was no reason to use that "rather complicated sample as a good representation of what ILE is", when so many other examples could be had without needing to pass a FLOAT data type. And FWiW the "system I have used lately", although left unmentioned, is one which has no access fees and also gives free access to an RPG compiler. Thus I could have created the module, saved the object, and transported the object anywhere required. About the only limitation for the person with only CL available, is if that person has the ability to RSTOBJ... because we can probably safely assume they can CRTPGM.

Regards, Chuck

On 17 Feb 2013 13:35, Bruce Vining wrote:
<<SNIP>> I have also met quite a few developers who only have CL
available to them. So documenting how to do it in CL, even though I
would most likely call some RPG or C code if doing it myself, is
certainly a worthwhile discussion. Doing it in another ILE language
just isn't an option for some users.

On Sun, Feb 17, 2013 at 12:09 PM, CRPence wrote:
<<SNIP>>
One can just choose to write in another ILE Language to make
either a wrapper of the 'hypot' routine or write the code to
perform the work of the 'hypot' routine. The system I have used
lately, does not even have the C++ routines, so I would not even
have the option to call them from _any_ language; creating a
wrapper is not even an option. There is little reason an example
for educational purposes should have to use FLOAT. <<SNIP>>

On 17 Feb 2013 06:13, paul.roy@xxxxxxx wrote:
My today concern is that I am preparing a ILE CL presentation
and I am not sure that I will present this rather complicated
sample as a good representation of what ILE is. <<SNIP>>




This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].