X013: Order by clause invalid on singleton select statement.

An embedded SQL singleton select might not contain an older BY clause. The statement should be modified to use the OPEN CURSOR construct.
Restriction: This topic applies to Windows environments only.