|
hi perhaps with : Option *UNRSLVREF in the CRTPGM command. ----- Original Message ----- From: "Jeff Young" <cooljeff913@xxxxxxxxx> To: <midrange-l@xxxxxxxxxxxx>; <rpg400-l@xxxxxxxxxxxx> Sent: Monday, August 29, 2005 5:05 PM Subject: Create Service Program > Brain freeze time. > I am attempting to create a service program consisting of 2 modules. > Module 1 uses a procedure in Module 2. > The binding directory for the service program specifies both Module 1 and Module 2. > The CRTSRVPGM command fails with a message indicating that it can not find the procedure Module 2 in Module Module 1. > The prototype for Module 2 specifies ExtProc('Module 2'). > The only way to get the service program to create is to specify Export on the procedure in Module 2. > The problem with this is that the procedure Module 2 is then available to be used outside the Service Program. > I could use Binder language and specify the specific procedures to export, but would prefer not to. > > All suggestions are welcome. > > > > > Jeff Young > Sr. Programmer Analyst > Dynax Solutions, Inc. > IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 > IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3 > > IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3 > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > 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. > >
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.