L338: AN ON CLAUSE IS INVALID

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