|
You should be doing CRTSRVPGM when adding a new module. Are you using a binding directory? It sounds like you are and have all the modules in it as well as the service program. I use different binding directories for creating the service program versus the programs that just use the service programs. If this isn't the case I would have to see your CRTSRVPGM command and what you are specifying to bind to. Scott Mildenberger > -----Original Message----- > From: Joel R. Cochran [mailto:jrc@masi-brac.com] > Sent: Wednesday, May 22, 2002 9:51 AM > To: 'rpg400-l@midrange.com' > Subject: Adding a module to an existing *SRVPGM > > > OK, > > I thought I had this all down at one point but now I can't > seem to figure > this out. > > I have an existing *SRVPGM created with Binder Source. Now I > need to add a > new *MODULE to this *SRVPGM. > > I have updated my Binder Source so that it now has a *PRV for the old > signature and a *CURRENT that includes the new *MODULE. > > I tried to run UPDSRVPGM with the new *MODULE name using > *SRCFILE, but I > receive a "Constituent module not found" error. > > I tried to run UPDSRVPGM with module *NONE, but I receive a > "***ERROR Symbol > not defined" error. > > I tried to run CRTSRVPGM, relisting all the *MODULEs > inclouding the new one, > but all the old *MODULEs threw a "Definition supplied > multiple times for > symbol" error because the old service program is listing them already. > > I guess I could delete the old *SRVPGM object before I > recreate it, but it > seems to me there should be a better way. What am I missing??? > > TIA,
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.