|
Hi, To certain extent the answer to my question could be to have the procedure "PROC1" of sub module two (may be having multiple modules) into a separate module rename the procedure "PROC1" to a new name with Nomain and export (to receive or return back parameters if any) it then bind this new module also with the main module and then in the main module call the new module with CALLB or CALLP 'New Procedure Name' MAIN MODULE ... CALLP PROC1 (Parameters if any) CALLP "New Procedure Name" (Parameters if any) But this process could be a burden to always have separate new module to be bounded, for any procedure's (having same name)to be called from different sub modules. Qualified name could be a better way. Thanks Sadiq .... -----Original Message----- From: MD, Sadique Sent: Monday, December 19, 2005 5:29 PM To: 'RPG programming on the AS400 / iSeries' Subject: RPGLE Question ... Hi, Is there any way to qualify a Procedure by Module name while calling the procedure with CALLP or CALLB Say I have a procedure "ProC1" with the same name in two sub modules and I call the procedure "Proc1" in main module by CALLP or CALLB When I create the program binding my main module and sub modules, the first sub module procedure "Proc1" is only called, if I need to call the procedure "Proc1" of Second Sub module from my main program how do I do ?? Thanks Sadiq
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.