|
|
TXSETTRANCTL(3cbl)
Name
TXSETTRANCTL() - set transaction_control characteristic
Synopsis
DATA DIVISION.
* Include TX definitions.
01 TX-RETURN-STATUS.
COPY TXSTATUS.
01 TX-INFO-AREA.
COPY TXINFDEF.
PROCEDURE DIVISION.
CALL "TXSETTRANCTL" USING TX-INFO-AREA TX-RETURN-STATUS.
Description
TXSETTRANCTL() sets the transaction_control characteristic to the value specified in TRANSACTION-CONTROL. This characteristic determines whether TXCOMMIT() and TXROLLBACK() start a new transaction before returning to their caller. TXSETTRANCTL() may be called regardless of whether the application program is in transaction mode. This setting remains in effect until changed by a subsequent call to TXSETTRANCTL().
The initial setting for this characteristic is TX-UNCHAINED.
The following are the valid settings for TRANSACTION-CONTROL.
Return Value
Upon successful completion, TXSETTRANCTL() returns TX-OK, a non-negative return value.
Errors
Under the following conditions, TXSETTRANCTL() does not change the setting of the transaction_control characteristic and returns one of these negative values.
See Also
TXBEGIN(3cbl), TXCOMMIT(3cbl), TXOPEN(3cbl), TXROLLBACK(3cbl), TXINFORM(3cbl)
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|