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



Hi,

if a module is bound directly to a program (either with or without nomain
keyword) and you have to change your module (error / enhancements) you have
to rebind all programs where the module is bound to.
If a module is bound to a service program (never bind the same module in
more than one service program) and you have to change your module, you only
have to rebind the service program. When using the binding language
correctly, you do not have to care about programs or procedures calling the
procedures within your module.

Binding a module directly to a program makes only sense, if you really can
confirm, this module can only be used once.
However, even if you may think a module can only be used once, next week,
next month or next year you'll find another program where this module must
be bound to.

In our programs only the PEP module is bound directly (i.e. all programs are
created with CRTBNDPGM and a binding directory where all service programs
are registered).
All other modules are bound to service program.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von KSinner@xxxxxxxxxxxxxxxxx
Gesendet: Monday, 17. January 2011 00:42
An: rpg400-l@xxxxxxxxxxxx
Betreff: Modules using NOMAIN, but not in a Service Program

This is my first post to this list, so if I need to provide more
information, please let me know.

I am running into several cases where a module is bound to 1 or more
programs and the module has the NOMAIN keyword, with only 1 subprocedure,
and it is not bound into a service program.

Are there any advantages or disadvantages to this method? (I am
accustomed to using service programs for modules like these, but want to
be open to other methods if there are benefits to do so.)

Thanks! I appreciate any information you may have on this!

Kim Sinner


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.