This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBBeginClientManagedTransaction function

The CMDBBeginClientManagedTransaction function enables you to start a client managed database transaction. This function returns the transaction handle which can be used by other control records and allows both AR and CMDB calls to be made in the same transaction.

Note

The maximum number of client transaction and the transaction timeout parameters must be set in the AR System configuration file (ar.cfg or ar.conf ) prior to using client managed transaction functions. For more information on AR System C APIs, see Developing an API program in the BMC Remedy AR System online documentation.

For more information on the AR System configuration file, see Configuring after installation in the BMC Remedy AR System online documentation.

Synopsis


#include "ar.h"
#include "arextern.h"
#include "cmdb.h"

int CMDBBeginClientManagedTransaction(
      ARControlStruct *control,
      char *transactionHandle,
      ARStatusList *status)

Input argument



Input argument

Description

control

The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed.

Return value



Return value

Description

transactionHandle

The transaction handle ID of the database transaction.

status

A list of zero or more notes, warnings, or errors generated from a call of this function.

Was this page helpful? Yes No Submitting... Thank you

Comments