× 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.



Jim Wiant wrote:

I've noticed a behaviour that I don't understand, and would like some
clarification/explanation:
...
If I create a new child program with the same name and place it in LIB1
(which is earlier in the library list) I get different behaviours from
the 2 parent programs:

The RPGLE code continues to execute the child from LIB2, ignoring the
object in LIB1.
The CLLE code finds the new code in LIB1 and starts running it next time
it loops.
...

The RPG behaviour is documented in the "Parsing Program Names on a Call"
in the "Call Operations" section that's pointed to from the CALL opcode
documentation in the ILE RPG Reference. 
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books_web/c0925086514.htm#Header_673

I don't know if the CL behaviour is documented anywhere, but the CL
behaviour is what I would call "the expected behaviour" and so maybe it
doesn't need to be documented.


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.