Values for curcmd

In addition to values in Table 2-14, the values described in Table 2-18 are available in the curcmd field of the SRV_CURDESC2 structure. The table also lists the relevant cmdoptions values:

Table 2-18: Values for curcmd (SRV_CURDESC2)

Value

Meaning

Legal values for cmdoptions

CS_NOSCROLL_ INSENSITIVE

Non-scrollable, insensitive cursors.

There are no valid options for this command. cmdoptions will always have the value SRV_CUR_UNUSED.

NoteIf you use the CTOS application, do not use the ct_scroll_fetch routine with non-scrollable cursors. Instead, use the ct_fetch routine.

CS_CURSOR_ DECLARE

Scrollable cursor command options.

SRV_CUR_SCROLL, SRV_CUR_SCROLL_ INSENS, SRV_CUR_ SCROLL_SEMISENS, SRV_CUR_NOSCROLL_ INSENS.

These cmdoptions are valid only at the cursor declare cycle, where the curcmd field of the SRV_CURDESC2 structure may contain one of these options, based on the remote client issuing a ct_cursor