L197: QUALIFIED NAMES IN ORDER BY NOT PERMITTED WITH UNION OR UNION ALL

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