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



That is exactly what we do for years. We prefix the procedure name with the name of the module and we use a Change Management System (CMOne) along with a cross reference tool (eXplain).

Our /copy books look like this:

* Prüft, ob die angegebene Zeichenkette mit dem angegebenen Prefix
* beginnt.
D f_startsWith...
D PR N
D extproc('SY0003N+
D _f_startsWith+
D ')
D i_prefix 4096A const varying
D i_string 4096A const varying

That is also nice, when displaying the imports of a module, e.g.:

Imported (unresolved) symbols:

Symbol Name Symbol Type ARGOPT
AL0348N_cvtNumDateToEurFmt PROCEDURE *NO
DB0570N_deleteAFAVKO PROCEDURE *NO
AL0348N_f_addFaWerktage PROCEDURE *NO
AL0406N_f_APPATR_getSpr PROCEDURE *NO
SY0003N_f_center PROCEDURE *NO
DB0210N_f_chainAKKOPF PROCEDURE *NO
DB0090N_f_chainAKKUND PROCEDURE *NO
DB0009N_f_chainALKO PROCEDURE *NO
AL0309N_f_ChainDIV6 PROCEDURE *NO

Thomas.

-----Ursprüngliche Nachricht-----
Von: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> Im Auftrag von Jay Vaughn
Gesendet: Freitag, 19. Mai 2023 14:55
An: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Betreff: rdi and external procedure lookup

ACHTUNG: Diese E-Mail stammt von einem externen Absender. Klicken Sie nicht auf Links und öffnen Sie keine Anhänge, solange Sie den Absender nicht erkennen und wissen, dass der Inhalt sicher ist.

For those that know RDI well..

when in a source member and you come across a call to an external procedure, what feature do you use in RDI to quickly find out what module that procedure lives in?
I've heard there is a way but cannot find it.

I'm used to always putting a module name prefix at the beginning of the procedure name which is very helpful when you have heavy ILE integration for the program. Multiple BNNDDIR's, modules, and srvpgms to look through can be time consuming.

tia

Jay
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


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.