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



>When I try to CRTSRVPGM, I keep get CPD5D03 error.  The error goes away if I 
>use OPTION(*DUPPROC).  Any idea why.

>Here are portion of the error message:
>Message . . . . :   Definition supplied multiple times for symbol          
>  '$XXX'.                                                         
>Cause . . . . . :   Definition $XXX was found to be exported from 
>  both *MODULE object SPXXX in library TEST and *SRVPGM object SPXXX in 
>  library *LIBL.                  

Get rid of the entry for the MODULE() parameter-- the binder is getting
confused because you're exporting the function $XXX from the module AND the
service program.  It doesn't know which version you want to use-- the one in
the module or the one in the service program?  *DUPPROC suppresses this error,
and the binder will use the first instance of the function $XXX that it finds.

Just a note-- once a module is bound into a service program, the module's
effectively dead to the compilation process.  The binder copies the module code
into the new service program object, so you don't need the module any more.

HTH,

-Doc

-Doc

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.