SQL$HELP_OLD72.HLB  —  CLOSE  Arguments  cursor-name-parameter
    Use a parameter if the cursor referred to by the cursor name
    was declared at run time with an extended dynamic DECLARE CURSOR
    statement. Specify the same cursor name parameter used in the
    dynamic DECLARE CURSOR statement.

    You can use a parameter to refer to the cursor name only when the
    CLOSE statement is accessing a dynamic cursor.
Close Help