Eric,
When I ran into that, the issue was that the service program referenced a binding directory that had the service program in it. On the first compile, the service program doesn't exist, so the binding directory doesn't bring it in. On subsequent compiles, the service program does exist, so it tries to bring the service program into the same service program when compiling, creating a duplicate procedure situation.
-Kurt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: Tuesday, January 08, 2013 4:25 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: Weird issue with BNDDIR
If it makes you feel any better, I've seen this strangeness too. One of the other developers here showed this to me a few months ago. He had to compile with OPTION(*DUPPROC) to do the initial build of the object, but could recompile (replace) after that without needing the special option, IIRC... We searched for multiple exports of the same name, but never pinned it down...
-Eric DeLong
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Tuesday, January 08, 2013 3:42 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Weird issue with BNDDIR
Nope,
In the library list I am using, only exist once and as stated earlier, none reference service program FDXASRSV, yet the compiler is seeing it when I attempt to create the program.
On Tue, Jan 8, 2013 at 4:20 PM, Scott Mildenberger < SMildenberger@xxxxxxxxxxxxxxxxxx> wrote:
Do either of the two binding directories you are referencing exist in
more than one library on the system? Maybe you are picking up a
different version of the binding directory than you think and it has
the additional service program reference.
If not that, I am out of ideas :(
Scott
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Tuesday, January 08, 2013 1:52 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Weird issue with BNDDIR
No.
Only procedures in the service program.
On Tue, Jan 8, 2013 at 3:32 PM, Scott Mildenberger <
SMildenberger@xxxxxxxxxxxxxxxxxx> wrote:
Are you binding any modules in addition to the service programs?
Scott
--
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.
--
Jeff Young
Sr. Programmer Analyst
--
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.