BCP_SETL

Description

Set the LOGINREC for bulk copy operations into the database.

Syntax

RETCODE BCP_SETL(loginrec, enable)
 
LOGINREC     *loginrec;
DBBOOL         enable;

Parameters

loginrec

This is a pointer to a LOGINREC structure, which will be passed as an argument to dbopen. You can get a LOGINREC structure by calling dblogin.

enable

This is a Boolean value (“true” or “false”) that specifies whether or not to enable bulk copy operations for the resulting DBPROCESS. By default, DBPROCESSes are not enabled for bulk copy operations.

Returns

SUCCEED or FAIL.

Usage

See also

bcp_init, bcp_getl, dblogin, dbopen, DBSETLAPP, DBSETLHOST, DBSETLPWD, DBSETLUSER