Previous Topic Next topic Print topic


COBSQ0189 'ORDER BY' clause not permitted.

The SQL Option preprocessor found an ORDER BY clause in an embedded SELECT...INTO statement. This is not valid on the mainframe.

Remove the ORDER BY clause or convert the statement into a DECLARE CURSOR statement, then recompile the program.

Previous Topic Next topic Print topic