bcp_writefmt

Description

Write a datafile format definition to a host file.

Syntax

RETCODE bcp_writefmt(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 that contains the format definitions.

Returns

SUCCEED or FAIL.

Usage

See also

bcp_colfmt, bcp_columns, bcp_readfmt