|
Very good question! And I'll answer it since it's one of those "odd" situations. My software is on a customer's machine. They also have another vendor's software. We both use a common service program (let's call it "SRVPGM1") that is basically the same thing, a library containing specific functionality for both of our software packages. My version of SRVPGM1 is newer. The other vendor's library is in the system library list. So when my software runs, it finds the other vendor's service program and bombs with a signature error. Options here are: 1. Remove the vendor's library from the system library list (preferred, but not an option since changing all the jobds to add it there would be "too much work"). 2. Change my program to specifically look for my service program in my library (what I will end up doing) 3. Add my library to the system library list ahead of the other one (ugh.... I wouldn't even suggest that). I normally specify *LIBL since they can move my apps anywhere on the system and hardcoding the library would make that an issue. Brad On Wed, 5 Oct 2005 11:29:36 -0500 "Holden Tommy" <Tommy.Holden@xxxxxxxxxxxxxxxxx> wrote: > Playing Devil's advocate today... > > Why hardcode to a specific library?? Just ensure that > the library > containing the service program is placed in the library > list where it > should be... > > P.s. not knocking the question...just curious... > > > Thanks, > Tommy Holden > > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob > Cozzi > Sent: Wednesday, October 05, 2005 11:17 AM > To: 'RPG programming on the AS400 / iSeries' > Subject: RE: Change service program info for program > > Try UPDPGM and specify the qualified service program name > there. It may > change it. A binding directory with a qualified SRVPGM > name is where to > do it on a compile. > > -Bob Cozzi > www.RPGxTools.com > RPG xTools - Enjoy programming again. > > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Brad Stone > Sent: Wednesday, October 05, 2005 11:30 AM > To: RPG programming on the AS400 / iSeries > Subject: Change service program info for program > > Let's say I have PGMA that is compiled to use SRVPGM1, > but it's > specified to use the *LIBL to find it. > > Is there a way to change this to specify a specific > library where it > should find SRVPGM1, or does that require a recompile? > > Thanks! > -- > This is the RPG programming on the AS400 / iSeries > (RPG400-L) mailing > list To post a message email: RPG400-L@xxxxxxxxxxxx To > subscribe, > unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives at > http://archive.midrange.com/rpg400-l. > > > > > -- > This is the RPG programming on the AS400 / iSeries > (RPG400-L) mailing > list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/rpg400-l. > > > -- > This is the RPG programming on the AS400 / iSeries > (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/rpg400-l. > Bradley V. Stone BVS.Tools www.bvstools.com
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.