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.

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.