|
Ahhhhh.... Thanks Scott.... for your very understandable answer... -----Original Message----- From: Scott Klement [mailto:klemscot@klements.com] Sent: Friday, June 07, 2002 10:14 AM To: 'rpg400-l@midrange.com' Subject: Re: Service Program Question UPDSRVPGM is to CRTSRVPGM what UPDPGM is to CRTPGM. So, if you're familiar with UPDPGM/CRTPGM you've probably already got a good idea of when to use it. Basically, I use UPDPGM/UPDSRVPGM when I have a pgm/srvpgm that's composed of many modules, and I only want to recompile one of the modules. With CRTPGM/CRTSRVPGM if I want to rebuild a program, I need to know all of the *MODULE objects that need to supplied. I need to compile all of the *MODULE objects (since in my shop, we don't keep the *MODULE objects on disk) and then I can finally run CRTPGM or CRTSRVPGM. However, if I only want to recompile one of the modules, I can do my CRTRPGMOD (or CRTCLMOD or whatever) and then just use UPDPGM or UPDSRVPGM to put the new version of the module into the program or service program. On Fri, 7 Jun 2002, Feador, Jerry wrote: > > I've been following the subprocedure/service program thread and have a > question... > > I've been learning Service Programs, > wrote a test one, > successfully used it in a program, > changed the subprocedure in the service Program, > did a create service program, > and ran the calling program again, > it picked up the changes in the service program... > > Question, when do you use update service program vice create service > program? > > Capt.j > _______________________________________________ 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-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.