×
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.
I guess I didn't make myself clear.
I want to call the UDF from my Domino agent, over an ADO connection, using something like "var1 = MyADOCommand". My problem is that I'm having trouble building MyADOCommand. I know how to do it for a stored procedure, using Input, Output, and InputOutput
parameters, and from my reading I've learned that there's something called a ReturnValue parameter, but when I try to use it I'm getting a syntax error. Googling turned up examples in .NET and Oracle, which were not helpful ;-{.
I just wondered if anyone had any experience with this .....
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> writes:
I'm confused.
You are trying to call a RPG UDF from RPG? That's no problem; call your
subprocedure that has a return value. Bypass SQL.
Are you trying to call a SQL UDF from RPG with something like "Eval Var1 =
MyFunc(Var2)"? I think that would be more of a stored procedure than a
UDF. Then the logic might be
exec sql values MyStoredProcedure(:var2) into :Var1;
Rob Berendt
Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA 01376
413-676-3144
Internal: x 444
mnaughton@xxxxxxxxxxxx
****************************************
NOTICE: This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that any use is
strictly prohibited. If you have received this e-mail in error, please notify us immediately by replying to it and then delete it from your computer.
As an Amazon Associate we earn from qualifying purchases.