SQL Option - CHECKDUPCURSOR

OpenESQL returns a SQLCODE of -19516 if the cursor is already open and the program is also compiled with directive NOANSI92ENTRY.

Syntax:
>>-.----.--CHECKDUPCURSOR-----------------><
   +-NO-+
Parameters:

None

Properties:
Default: NOCHECKDUPCURSOR
Comments:

The default behavior when a program is compiled with NOANSI92ENTRY is to automatically close the cursor and then re-open it.