Charles,
I've used UDF's on remote systems without an issue.
Does the function exist in the same location on the remote server?
Jim
________________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Charles Wilt <charles.wilt@xxxxxxxxx>
Sent: Friday, January 15, 2016 3:51 PM
To: Midrange Systems Technical Discussion
Subject: SQL0204 - Function not found using a local UDF with a ALIAS pointing to a remote system
All,
I created a UDF that does some character manipulation..
I tried to use it on a column in remote table via an SQL ALIAS.
select locallib.myudf(mydata)
from locallib.myalias
But I get a SQL0204 - MYUDF in LOCALLIB type *N not found.
Same error with this
select locallib.myudf('TEST123')
from locallib.myalias
But this works.
select locallib.myudf('TEST123')
from sysibm.sysdumm1
So my UDF is fine, I'm calling it properly. I think I'm hitting a
limitation in the support for remote tables.
Can anyone confirm? And is there some way around this limit...other than
copying the remote file to the local system?
Thanks!
Charles
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.