ODBC client API processing  Managing processing results

Chapter 5: Managing Transactions

CT-Library client API processing

The following figure shows the interaction between a Sybase Open Client CT-Library API and DirectConnect.

Figure 5-3: CT-Library client API example

The CT-Library client API processing flow includes the following steps:

  1. When a CT-Library application issues a request, it uses the ct_connect call to initiate a connect event to a specific DirectConnect access service.

  2. The CT-Library API executes the request using the ct_command and ct_send calls. This initiates a language event in the DirectConnect server.

  3. The CT-Library API uses ct_fetch to return the requested results to the client application.

  4. The CT-Library API terminates the request with ct_close. This call initiates a disconnect event in the DirectConnect server.

Procedure calls for the CT-Library API are described in the Sybase Open Client Client-Library/C Reference Manual.

NoteDirectConnect does not support the use of text or image pointers. Consequently, ct_data, ct_get_data, and ct_put_data, when used with text or image pointers, are not supported.





Copyright © 2005. Sybase Inc. All rights reserved. Managing processing results

View this book as PDF