StartOCITransaction (open)

Start an Oracle transaction

Syntax

LOADLIB "wh::dbase/oci.whlib";

RECORD FUNCTION StartOCITransaction(RECORD connectinfo)

Parameters

RECORD connectinfo

Connection infio

database

Database name

password

Password to use with the above username

username

Username to use for the connection

Return value

RECORD

A record detailing the transaction settings

errors

A list of connection errors

transid

The transaction id. A value <= 0 on error

Description

Open an Oracle tranasction through OCI (Oracle Call Interface), with extra options to control transaction opening and failure