Frequently Asked Questions

This section provides the frequently asked questions on various aspects of installing and using the database drivers, which will be of particular use to the database administrator setting up the system.

NOTE: The DDD references made in various examples refer to the database type. You need to substitute DDD with your database—DB2, ORACLE or MSSQL.

Transaction Management

Transaction management is enabled by default, and it allows failed Temenos Transact transactions to be rolled back without invalidating database integrity. The UPDATING FILES message signals the end of the transaction followed by the TRANSACTION COMPLETE message. If transaction management is enabled, then the following sequence takes place.

  1. Transaction 1 is initiated.

  2. The next journal ID is allocated from the F.LOCKING key=JOURNAL.

  3. Transaction pending record is written to F.LOCKING. (The key is Jnnn.YYYYMMDD, where nnn=journal id followed by the bank date and the record contains all the information stored in the journal record but without the after images.)

  4. The journal record is written.

  5. Transaction 1 is ended and committed.

In case of any error, the transaction rolls back and you are forced to log out the system through FATAL.ERROR.

After the transaction has been executed within the Temenos Transact application, it is persisted to the database.

See the System Administration section under the Transaction Management section.

Transaction Management

The File System Interface calls the RDBMS driver to issue a commit to the database. The driver issues a call to the database to execute the commit command. The return code from RDBMS is checked and if it is successful, it is passed back to the application.

If the call fails, a note is made in the XMLdriver.log file with an explanation of the failure. This failure is reported to the runtime, which notifies Temenos Transact that the commit has failed. Then, the transaction rolls back and you are forced to log out the system through FATAL.ERROR.  If there is a system crash, RDBMS deals with the system failure and not with committing the record.

RDBMS Transaction Management

Once the transaction is passed to RDBMS, the integrity of the data is maintained by the normal RDBMS mechanisms, that is, redo and rollback. RDBMS does not commit a transaction until it is instructed by the application. If there is no commit, the transaction is rolled back. If the system crashes, RDBMS recovers the database automatically using the rolling forward feature or replays the transactions recorded in the on-line redo logs and then automatically rolls back any transaction that has not been committed to the database, thus maintaining consistency.


Bookmark Name Actions
Feedback
x