L517: Cursor name does not identify a prepared SELECT statement.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -517, for information.
Restriction: This topic applies to Windows environments only.