The srv_cursor_props2 routine is added to Open Server to support the SRV_CURDESC2 structure.
For pre-15.0 applications, you must use the SRV_CURDESC structure and srv_cursor_props routine, if the application sets CS_VERSION_125.
For version 15.0 and later applications that support scrollable cursors on Open Server, use the SRV_CURDESC2 structure, and set the application to CS_VERSION_xxx, where xxx corresponds to the Open Server version.
The arguments for srv_cursor_props2 are as follows:
ret = srv_cursor_props2(SRV_PROC *spp,
CS_INT cmd, SRV_CURDESC2 *cdp);