L502: The cursor identified in an OPEN statement is already open.

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