Request types  API calls

Chapter 5: Understanding the Request Process

Request processing flow

Request processing follows these steps:

  1. The client application issues a request (for example, a select statement).

  2. The client API (for example, CT-Library or ODBC) receives the request and sends it to the DB2 access service.

  3. The DB2 access service receives the request, transforms it (if needed), and executes the request through MainframeConnect for DB2.

  4. After the request processes, the DB2 access service converts target datatypes to Open Server datatypes and returns the results to the client application.

  5. The client application disconnects from the DB2 access service.

The following figure shows the processing flow of the APIs through DirectConnect to DB2.

Figure 5-1: Processing flow through API to DB2

For more information about Open Client and Open Server products, see the Open Client Client-Library/C Reference Manual and the Open Server Server-Library/C Reference Manual.





Copyright © 2005. Sybase Inc. All rights reserved. API calls

View this book as PDF