Client-Library Usage

The option parameter in the ct_cursor syntax has been extended to include CS_CUR_RELLOCKS_ONCLOSE.

Use this option to direct Adaptive Server to release shared locks after a cursor closes. To use with read-only cursors or scrollable cursors, use the bitwise OR operator, “|” (pipe):

Examples

For a sample Open Client program that illustrates this feature, see csr_disp_scrollcurs3.c.