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



Incidentally... CALLB calls a PROCEDURE, not a module. So unless your procedure and module name are the same, searching for CALLB wouldn't tell you much. (Unless, of course, you already have a list of all of the procedures in the module you're looking for.)

CALLB is not the only way (or even the recommended way) of calling a procedure from RPG. CALLB was really only apropos in V3R1 -- CALLB didn't exist before V3R1, and in V3R2, we got prototypes which are a much better way to call procedures.

Even if you searched for all CALLB and all prototypes, you'd only have found the RPG code. Now you'd have to also search for CALLPRC in CL, as well as C/C++ prototypes, Cobol calls (sorry, I don't know the Cobol syntax).

If your goal is only to know which programs or service programs a module is bound to, it seems a lot easier to use the APIs than search the code.


GKern@xxxxxxxxxxxxxxxx wrote:
Other than using FNDSTRPDM (PDM option 25) to search for the CALLB op code, is there any other method of finding which programs use a specific module? Is there a file somewhere in the system that acts as a cross-reference that can be queried to show what programs have a specific module bound into that program?

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.