Open ClientConnect Client-Library functions

Open ClientConnect includes a programming interface of functions that are used in writing mainframe client applications. Some of these functions prepare and send requests to a server; others retrieve and process the results. Additional functions set application properties, handle error conditions, and provide a variety of information about an application’s interaction with a server.

Open ClientConnect’s Client-Library functions are similar in name and function to Open Client Client-Library’s routines. However, not all Sybase Open Client routines are supported. For example, Open ClientConnect does not currently support cursors or compute rows.

Most mainframe Client-Library function names begin with “ct_”; for example, the function that exits from Client-Library is named ct_exit. This corresponds to the Client-Library/C routine ct_exit.

Open ClientConnect includes utility functions which allocate, drop, and assign properties to context handles, and one function used in datatype conversion. These functions begin with the prefix: “cs_” instead of “ct_.” This naming convention derives from related Sybase products, but it is irrelevant for Open ClientConnect. Use cs_xxxxx functions just as if they were ct_xxxxx functions.

Structures, types, and values used by Client-Library functions are defined in header files.

Client-Library functions are described in detail in Chapter 3, “Functions.”