CS_HAVE_CMD determines whether an application can resend a previously executed server command. The property is read-only, and CS_TRUE indicates the presence of a resendable command.
Client-Library allows applications to resend some types of commands immediately after the results of the previous execution have been processed.
To resend a command, the application:
Updates values in the command’s parameter source variables (if any). The address of the parameter source variables must have been specified with ct_setparam after the command was initiated with ct_command, ct_cursors, or ct_dynamic.
Calls ct_send to resend the command. ct_send reads the updated parameter values.
Not all command types can be resent. See “Resending commands” for more information.
Applications that resend commands may benefit from setting the CS_STICKY_BINDS property to reuse the bindings that were established while processing the results from the original execution of the command. See “Persistent result bindings” for a description of this property.