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




On 10/04/2009, at 9:40 AM, Eftimios Pantzopoulos wrote:

I don't know what happened to the body of my original email, but it wasn't in the list when I looked at the archive this morning. The relevant code is here.

It must have been received otherwise you wouldn't have got ANY replies. The fact the body is missing from the archive copy indicates either:

o a problem with the archive process
o or a problem with the format of your e-mail

Either way report it to David Gibbs.

I looked at the answers to the original message and it seems that some of it must have been seen because CR Spence makes reference to the CL test wrapper I wrote. Anyway, I did find a reference to the function parameter being passed in as a varchar and so I changed the SQL function parameter to varchar(16) and the RPG procedure parameter to varying and got the same error.

Chuck already pointed you to the likely cause. You specified PARAMETER STYLE DB2SQL but your prototype does not match the requirements for that interface. Refer to the DB2 SQL Reference and read the topic PARAMETER STYLE in the section CREATE FUNCTION (External Scalar). Given your prototype and that your function is in a service program you probably want a more general parameter style.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




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.