L390: FUNCTION function-name (specific-name), NOT VALID IN THAT CONTEXT

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -390, for information.
Restriction: This topic applies to Windows environments only.