MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2012

Re: Why won't this CREATE FUNCTION command work?



fixed

I am too lazy presently to locate any specifics [beyond to suggest reviewing second level text from DSPMSGD SQL0449 QSQLMSG], but the solution is likely both to ensure the proper PATH is established before issuing the CREATE request and\or to specify the external name within apostrophes [as delimiters] along with including the library name. Thus on the second-to-last line, specifying the following should resolve:
EXTERNAL NAME 'TheLibraryName/DATE2ISO(DATE2ISO)'

Or as an old-release copy of the text for the -449 sqlcode suggests, "The external program name for a procedure or function must be of the form 'library-name/program-name' or 'library-name/program-name(entry-point-name)'."






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact