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



If you've ever noticed, the compiler automatically converts your code to
UPPERCASE when it compiles.  My guess is that if you look in your SRVPGM
(DSPSRVPGM) you will see your procedure is listed as 'GETSOCSEC', not
'GetSocSec'.  What you have below is actually TWO different names, since
the compiler automatically converts the GetSocSec value to GETSOCSEC and
you don't have an EXTPROC('GetSocSec') specified to force it to be mixed
case.  

This is why, as Barbara pointed out, it is so important to have the SAME
prototype and the easiest way is via a /COPY member. 


-----Original Message-----

"Brenzel, Wendy" wrote:
> 
> I am missing the boat... Please help. I am trying to compile an rpg 
> ile test program, using crtbndrpg, which calls  a procedure.  The 
> procedure is compiled into a module, placed in a service program, 
> which in turn is in a binding directory.  The test program Compile 
> message:
> 
>    Message . . . . :   Definition not found for symbol 'GetSocSec'.
> 
> 0001.00 D GetSocSec       PR             9P 0 Extproc('GetSocSec')
...
> D GetSocSec       PR             9P 0
> D InIDNo                         9P 0 Value


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.