bcp_readfmt

Description

Read a datafile format definition from a host file.

Syntax

RETCODE bcp_readfmt(dbproc, filename)
 
DBPROCESS    *dbproc;
char                   *filename;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front end/Adaptive Server process. It contains all the information that DB-Library uses to manage communications and data between the front end and Adaptive Server.

filename

The full directory specification of the file containing the format definitions.

Returns

SUCCEED or FAIL.

Usage

See also

bcp_colfmt, bcp_columns, bcp_writefmt