|
Thanks for the help so far.
At the moment, all our programs are bound to modules. No SRVPGMs. When a module is modified, all the programs bound to that module are recompiled automatically.
This is creating a difficult situation. Some modules are declared in many different BNDDIR, being bound to many different programs.
The big problem is when this happens : a new module is written and is used by one of those modules that is in many BNDDIRs. We have to put the new module into all those BNDDIRs. Then recompile all those programs. As the same modules become used by more and more programs, there is a kind of snowball effect. The addition of a new module means more and more recompiles.
Now in my case, I've just written a new module and created a service program for that module. I've now placed it in a BNDDIR.
Please correct me if I'm mistaken :
I now have PGM1 made up of MODULE1 and SRVPGM1. I still have to add SRVPGM1 to all the BNDDIR where MODULE1 figures.
In the future, as long as I don't change the signature of SRVPGM1, I don't need to recompile the programs.
Also, in the future, when adding a new module, if I can bind the new module to SRVPGM1 instead of PGM1, I won't need to touch the BNDDIR of all those programs where SRVPGM1 is declared.
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.