|
Thanks Scott, I learn something new every day whether I mean to or not! :-) Joel R. Cochran Director of Internet Services VamaNet.com (800)480-8810 mailto:webmaster@vamanet.com > -----Original Message----- > From: Scott Mildenberger [mailto:Smildenber@Washcorp.com] > Sent: Friday, April 19, 2002 11:55 AM > To: 'rpg400-l@midrange.com' > Subject: RE: Service Programs > > > Joel, Just a slight correction on this statement. UPDSRVPGM > does not rebind > the programs that use it. Using a service program causes the > procedures to > be 'bound by reference' which means they are found at run time. So > UPDSRVPGM just changes the service program and when any > program that uses it > goes through service program activation it will find the new > copy and use > it. This is why already running programs don't see the new > version, they > don't go through the acitvation step again so they continue > using the old > version until their activation group ends. > > Scott Mildenberger > > > -----Original Message----- > > From: Joel R. Cochran [mailto:jrc@masi-brac.com] > > Sent: Friday, April 19, 2002 9:23 AM > > To: 'rpg400-l@midrange.com' > > Subject: RE: Service Programs > > > > By placing the module in a Service Program instead, if you > recompile a > > module you need only run the UPDSRVPGM command indiciating > > the new module. > > This command will automatically find and re-bind all the > > other programs that > > use it. Now your 100 programs are updated in 1 command. > > > > Two things to keep in mind: if you are running Named > > Activation Groups the > > UPDSRVPGM command will not rebind the copies of programs open > > in an active > > Named Activation Group, so you must stop and restart the > > ACTGRP to affect > > the change. > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. >
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.