|
Try to put a comma between the 2 parameters and pass the parameter--
values with a decimal separator and at least one decimal position, i.e. 730.0 .
It could be that ACS interprets a numeric value without decimal
positions as integer values, and because an UDTF can be overloaded and
integer and dec are different datatypes, the UDTF is not found
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars."
(Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training
them and keeping them!"
„Train people well enough so they can leave, treat them well enough so
they don't want to.“ (Richard Branson)
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jim Franz
Sent: Donnerstag, 25. Januar 2018 15:43
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: creating table function - UDTF and then calling
one of our java developers (on a non-I system) wants to create a table
function to call - it creates but does not execute and the messaging
is confusing (to me)
Create statement (partial - it's big
CREATE OR REPLACE FUNCTION KRMDATA.LOCATIONS_BY_FUND_MEMBER(EMFND#
DECIMAL(3,0), EMMEMB DECIMAL(5,0))
RETURNS TABLE (EMPSPL CHAR(30), EMFDYR DECIMAL(4,0), EMFND#
DECIMAL(3,0), EMMEMB DECIMAL(5,0), EMMSUB DECIMAL(2,0), EMNAME
CHAR(30), EMFDID DECIMAL(9,0), LOCATION_# CHAR(30)
LANGUAGE SQL
READS SQL DATA
NO EXTERNAL ACTION
DETERMINISTIC
RETURN
SELECT EM.EMPSPL ,EM.EMFDYR ,EM.EMFND# .... much more
calling from V7R1 i Navigator
calling - select * from
TABLE(KRMDATA.LOCATIONS_BY_FUND_MEMBER(730,87))
ASC
(the ASC - syntax checker was requiring "something " there
when calling , get 4 message in log
SQL0204 LOCATIONS_BY_FUND_MEMBER in QSYS type *lib not found
Diagnostic
CPF503E user defined function error on member
QSQPTABL Notify
CPF503E user defined function error on member
QSQPTABL Senders Copy
SQL0204 LOCATIONS_BY_FUND_MEMBER in QSYS type *lib not found
Diagnostic
even though it says it's not found, it found it and returned an empty
table (with column headings)
Is there an issue with SQL only table function?
Is this a 10 character limit on function name?
Something else?
Jim Franz
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.co
m_mailman_listinfo_midrange-2Dl&d=DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwol
PvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEy
H_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm641Y&s=uCP2ePFb9EqKKT76oI9xa1cwiGlJu
krmGWyAlOxXijU&e= or email: MIDRANGE-L-request@xxxxxxxxxxxx Before
posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEyH_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm641Y&s=ASeOHRNW6LY0DumV0nvBOc3G3N93eB0TBdZdyeQ7TDg&e=.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=
DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJh
t2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEyH_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm
641Y&s=2LuYU8VqP6XggjuOxAfGplZn_cdoqg1c1zXVJ4uwdPw&e=
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.co
m_mailman_listinfo_midrange-2Dl&d=DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwol
PvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEy
H_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm641Y&s=uCP2ePFb9EqKKT76oI9xa1cwiGlJu
krmGWyAlOxXijU&e= or email: MIDRANGE-L-request@xxxxxxxxxxxx Before
posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJht2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEyH_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm641Y&s=ASeOHRNW6LY0DumV0nvBOc3G3N93eB0TBdZdyeQ7TDg&e=.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=
DwIGaQ&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=wgq2KO1Tl8HswJh
t2RKpmz7qvL2YDU_M-VhnRH6r43I&m=worEyH_EF6TrQi_H1ZNLp4Vof_5zTMi93_yDgrm
641Y&s=2LuYU8VqP6XggjuOxAfGplZn_cdoqg1c1zXVJ4uwdPw&e=
As an Amazon Associate we earn from qualifying purchases.
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.