An application initiates a cursor-close command by calling ct_cursor with type as CS_CURSOR_CLOSE. If the application will not use the cursor again, it can close and deallocate the cursor with one command by passing ct_cursor’s option parameter as CS_DEALLOC. Otherwise, option should be CS_UNUSED.