When you create the service program you shouldn’t be referencing a service program containing the same proc. One procedure should really not be in more than one place.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Aug 12, 2016, at 2:32 PM, John R. Smith, Jr. <smith5646midrange@xxxxxxxxx> wrote:

OK, now the next problem.

When I try to create the service program using *SRCFILE, it is popping an error because it is finding the definitions in both the *MODULE and the *SRVPGM.

Definition supplied multiple times for symbol 'SCGETNVP'.

We are using Aldon so I can't alter the library list during compiles and promotes and the *SRVPGM it is finding is in production. Is there any way around it finding the *SRVPGM in the libl and triggering this error?

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, August 12, 2016 1:53 PM
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Need help with a service program

You’d better believe it!

*ALL will cause the exported names to be ordered alphabetically and the signature generated. Add a new export and it will have a different signature. Decide to specify the sequence yourself (in anything other than alpha order) and it will be a different signature. And on and on.

EXPORT(*ALL) is rarely (read never) a good idea.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Aug 12, 2016, at 1:28 PM, John R. Smith, Jr. <smith5646midrange@xxxxxxxxx> wrote:

I just found that Aldon is creating the service program with EXPORT(*ALL).
Would this cause my problem?

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
dlclark@xxxxxxxxxxxxxxxx
Sent: Friday, August 12, 2016 1:18 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
<rpg400-l@xxxxxxxxxxxx>
Subject: RE: Need help with a service program

"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 08/12/2016
01:13:00
PM:
So, backing up a step, we use auto generated signatures. Where does
*PRV
get the old signatures?

I know the binder will search the binding directory for a
matching service program name. So, I would think that it could get
the previous signature from the previous version of the service
program. If you're not using a binding directory then that may be part of the problem, too.


Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331




**********************************************************************
******
*****************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or
proprietary information. If you have received this message in error,
please immediately notify the sender and delete and destroy the
message and all copies. All unauthorized direct or indirect use or
disclosure of this message is strictly prohibited. No right to
confidentiality or privilege is waived or lost by any error in transmission.
**********************************************************************
******
*****************
--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.