Transaction class

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Transaction class is a collection of shared methods that allow control of transactions, specifically global transactions.

There are no System or Transaction objects, per se. That is, you cannot instantiate an instance of a Transaction object, nor assign references from one variable to another, nor are there any instance-specific methods in this class. You can, however, declare objects of the Transaction class. The main use of such objects is to provide a short-hand way of referencing the class:

%sys is object system %tran is object transaction ... %tran:setGlobal(%xid, $view("JOBNM"))

All Transaction class methods are shared methods, so they are invokable via their class names:

%(transaction):setGlobal(%xid, $view("JOBNM"))

List of Transaction methods

The individual Transaction methods are summarized in List of Transaction methods.