|
Joel, I too ran into this and discovered the following. What happens is this, depending on how you create your programs the service programs are either bound by copy or by reference. If they are bound by copy then updates to the service programs don't affect the calling programs until they are re-bound. If they are bound by reference then any update to the service programs is seen by the calling programs. I used to create my programs (that call the service program) with CRTBNDRPG and a binding directory. This bound by copy. I changed to using CRTRPGMOD and then CRTPGM and specifying the service programs under the BNDSRVPGM parameter. This binds by reference and therefore service program changes are seen by the calling programs. Someone else may understand this better and provide more insight but I know that all our programs now see service program changes without rebinding. Scott Mildenberger > -----Original Message----- > From: Joel Fritz [SMTP:JFritz@sharperimage.com] > Sent: Thursday, September 02, 1999 1:51 PM > To: 'RPG400-L@midrange.com' > Subject: making changes in service programs visible to caller without > rebi nding > > I've been laboring under the misconception that you could change a service > program and not have to rebind it to the programs that call it to see the > results of any changes you made as long as you don't change the interface. > It galls me to say it, but I'm wrong. > > What do you need to do with binder language to make this happen? > > Joel Fritz x1568 > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.