|
You don't even need to use the export keyword to have a procedure available within a service program. If a procedure is only used within a service program I wouldn't even put the export keyword on it.
Another reason for binder source is that if service program SP1 binds to service program SP2 service program SP1 will by default export not only any procedures it contains that are defined with the export keyword but also every procedure exported from SP2. If both of these service programs are in the same binding directory you will get duplicate definition errors when binding to one of the duplicated exports. Using binder source limits this kind of duplication and keeps procedures exported only from the service program you want them exported from.
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.