close

Closes the named cursor.

Syntax

CLOSE Identifier

Description

Closes the named cursor. The cursor must have previously been successfully created with the gfxd Get Scroll Insensitive Cursor command.

Example

gfxd(PEERCLIENT)> get scroll insensitive with nohold cursor scrollCursor as 'select * from firsttable order by id';
gfxd(PEERCLIENT)> before first scrollCursor;
No current row
gfxd(PEERCLIENT)> GETCURRENTROWNUMBER scrollCursor;
0
gfxd(PEERCLIENT)> relative 2 scrollCursor;
ID         |NAME
------------------------
20         |TWENTY
gfxd(PEERCLIENT)> GETCURRENTROWNUMBER scrollCursor;
2
gfxd(PEERCLIENT)> close scrollCursor;