open_commit

Description

Establish a connection with the commit service.

Syntax

DBPROCESS *open_commit(login, servername)
 
LOGINREC     *login;
char                *servername;

Parameters

login

This is a LOGINREC containing information about the user initiating the session, such as login name, password, and options desired. The LOGINREC must have been obtained from a prior call to the DB-Library routine dblogin. The caller may wish to initialize fields in the LOGINREC. See the reference page for dblogin for more details.

servername

The name of the commit service; for example, DSCOMMIT_SALESNET. If servername is NULL, the name DSCOMMIT is used. The name cannot contain a period (.) or a colon (:).

Returns

A pointer to a DBPROCESS structure to be used in subsequent commit service calls, or NULL if the open failed.

Usage

See also

dblogin, dbopen