× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rory,
I attempted to compile the program both in Batch and Interactive with the
same errors.
The odd thing is that if I change the BNDDIR statement from 'XABNDDIR' to
'FDXABNDDIR' it works just fine.

Below is the error I receive in the job log:
CPD5D03 Diagnostic 30 01/09/13 09:39:45.662248
QBNBIND QSYS *STMT QBNBIND QSYS *STMT
From module . . . . . . . . :
QBNBREST
From procedure . . . . . . :
QBNBREST__CheckSymbolPreference
Statement . . . . . . . . . :
55
To module . . . . . . . . . :
QBNBREST
To procedure . . . . . . . :
QBNBREST__AddStrongDefToResTree
Statement . . . . . . . . . :
5
Message . . . . : Definition
supplied multiple times for symbol

'SP_CMP_CHG'.

Cause . . . . . : Definition
SP_CMP_CHG was found to be exported from both
*SRVPGM object XASRVPG in library
*LIBL and *SRVPGM object FDXASRVPG in
library *LIBL. Recovery . . . :
Try the Create Program (CRTPGM) or Create
Service Program (CRTSRVPGM) command
again, supplying only one of these
objects, or try the CRTPGM or
CRTSRVPGM command again, specifying one or
both of OPTION(*DUPVAR) and
OPTION(*DUPPROC).

On Tue, Jan 8, 2013 at 8:52 PM, Rory Hewitt <rory.hewitt@xxxxxxxxx> wrote:

Jeff,

If you're compiling in batch, is the batch job using a different library
list?

Any chance you can post the QPJOBLOG file?

Rory


On Tue, Jan 8, 2013 at 2:29 PM, Anderson, Kurt <KAnderson@xxxxxxxxxxxx
wrote:

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.

--
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.




--
Rory Hewitt

http://www.linkedin.com/in/roryhewitt
--
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.

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.