Setting up DirectConnect for ASE/CIS  Setting up DirectConnect for use with Replication Server

Chapter 3: Configuring Access Services to Work with Related Products

Using ASE/CIS with the ASE transaction model

ASE/CIS requires a DirectConnect access service to support particular aspects of the Adaptive Server transaction model. If the DirectConnect access service is configured correctly for ASE/CIS, and if it recognizes the ASE/CIS client application, it supports the transaction model. The model includes the following statements:

NoteThis is a limited implementation of the Adaptive Server transaction model and is available only for ASE/CIS. Other applications cannot use these features.

To process ASE/CIS transactions, you must set the transaction mode and transform level parameters. For instructions, see the Adaptive Server Enterprise Component Integration Services Guide.

If all conditions are met, the transaction statements are handled as follows:

begin tran statement

The DirectConnect access service does the following:

Other considerations are as follows:

prepare tran statement

If the DirectConnect access service is in an ASE/CIS transaction, it does the following:

This statement is issued in preparation for a commit statement.

commit or rollback statement

If the DirectConnect access service is in an ASE/CIS transaction, it performs the following:

ASE/CIS expects the DirectConnect access service to be in short transaction mode unless:

Because the DirectConnect access service automatically switches to long transaction mode when a cursor is declared or when a dynamic event prepare occurs, it backs out of this mode when the last cursor and prepared statement are deallocated and not in a begin tran block.

NoteASE/CIS always issues dynamic events within its own transaction, so it is not necessary to back out when the last dynamic statement is freed.

In the event of a rollback, the DirectConnect access service issues a commit and sets the transaction mode to short.





Copyright © 2005. Sybase Inc. All rights reserved. Setting up DirectConnect for use with Replication Server

View this book as PDF