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



-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de
dieter.bender@xxxxxxxxxxxx
Envoyé : lundi 17 janvier 2011 11:40
À : RPG programming on the IBM i / System i
Objet : Re: Modules using NOMAIN, but not in a Service Program

David,

at binding time (CRTPGM, CRTBND..., CRTSRVPGM) only those
modules are bound, which are needed to resolve needed imports
(prototypes or import keyword).
The risc with a central binding directory is to have the
same export name more than once, then you will come in
trouble. Good praxis is, to prefix all exports with the
module name to guarantee uniqueness of export names, then it
doesn't matter how many binding directories you are using. I
prefer to specify all needed modules and Service programms
with the crt command, it's better for readability. I write
the CRT Statements as a comment to the source and have a
little preprocessor (its Freeware and available at my WebSite
bender-dv.de (sorry, the site is german, but this should be
no problem for you, I suppose?).

Sehr interessante, danke :-)

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.