Set bulk copy options.
RETCODE bcp_options (dbproc, option, value, valuelen) DBPROCESS *dbproc; BYTE *value; int valuelen;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/Adaptive Server Enterprise process. It contains all the information that DB-Library uses to manage communications and data between the front end and Adaptive Server Enterprise.
A generic BYTE pointer to the value of the specified option. As the following table describes, what value should point to depends on option:
If option Is |
*value should be |
---|---|
BCPLABELED |
A DBBOOL value. Set *value to “true” to allow a bulk copy with sensitivity labels. Set *value to “false” for a normal bulk copy operation. |
The length of the data to which value points. If value points to a fixed-length item (for example a DBBOOL, DBINT, and so on), pass valuelen as -1.
SUCCEED or FAIL.
bcp_options sets bulk copy options.
Currently the only bulk copy option available is BCPLABELED.