To enable batched parameter support in Open Server Server-Library, set the SRV_S_PARAM_BATCHING server property to CS_TRUE.
For example, before srv_run():
if (srv_props(ctos_ctx->cx_context, CS_SET, SRV_S_PARAM_BATCHING, (CS_VOID *)&cs_true, sizeof(cs_true), NULL) != CS_SUCCEED) {...}
CS_PARAMS_MORE - indicates parameters have been successfully copied and there are more parameters in the batch.
CS_PARAMS_END - indicates parameters have been successfully copied. This is the last set of parameters in the batch.