L123: THE PARAMETER IN POSITION n IN THE FUNCTION name MUST BE A CONSTANT OR KEYWORD

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -123, for information.