start Method

Class: Runtime

Description

This method establishes the starting location of a transaction fence. This starting location will be returned to the database interface. Other transaction-related utilities can use this value to commit or rollback a transaction.

Syntax

Runtime.start(lister String transactionID, literal String varList,

Primitive saveptr)

Parameters

transactionID

A qualifier used to define the type of transaction being performed ("BA"=Batch, "CS"=Client/Server).

varList

A list of variables that will be restored to their original state when a rollback command is executed (or if the transaction restarts).

saveptr

The starting location of the current transaction. This value can be used to roll back the transaction to this point when business rule coding detects an error.

Returns

Void

 

When Became Available

Profile v6.3

Example

do Runtime.start(“BA”,”trnreject”,saveptr)