I'm working through an RPG version of my UDF, and when I go to
register the *SRVPGM in SQL (based on the example given in Scott
Klement's treatise on the subject) with this:
CREATE FUNCTION WTDEVELOP/CENSORACCT
(ISALESREP CHAR(5), ICSR CHAR(5)) RETURNS CHAR(1)
LANGUAGE RPGLE DETERMINISTIC NOT FENCED NO SQL
EXTERNAL NAME 'WTDEVELOP/CENSORACCT' PARAMETER STYLE GENERAL
I get "Clause not correct for procedure or function." with the
cursor on the "GENERAL."
Where am I screwed up now?