|
It depends on how you bind it. In my binding directories I specify service programs and for the most part specify *LIBL for the location. When I compile a program, then use DSPPGM and look at the service programs it's bound to, it shows the SP name and *LIBL for the library. I believe if you hardcode the library then you won't have to worry about the library list. I know I've done this with QZHBCGI before... I specify the library it's in then at run time don't have to worry about the library being in the library list. Brad www.bvstools.com On Fri, 1 Oct 2004 09:20:00 -0400 CWilt@xxxxxxxxxxxx wrote: > > Looking at the *SRVPGM detail for a program created with > CRTBNDRPG, I see a > service program listed along with the library that it is > in. > > I could have sworn that I was able to run the program > without having the > service program library in the LIBL. However, when I > transferred the > program and the *SRVPGM to our production box I wasn't > able to run it > without adding the *SRVPGM library to the LIBL. > > This morning, back on the dev box. I couldn't run the > program without > having the service program in the LIBL. > > So, first question...does the *SRVPGM library always have > to be in the LIBL > even if the library name is listed on the *SRVPGM detail > screen of the > program? > > If yes, does that mean I'm crazy thinking that I was > somehow able to do it > before? <grin> > > Note that we use Aldon, so when I thought I was doing it > for the BNDRPG > program the program was in my development library, now it > has been moved to > the production library. The service program in question > has always been in > the same library. > > Thanks, > Charles Wilt > -- > 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.