This book contains reference information for the C version of Open Client™ DB-Library™.
This book is intended to serve as a reference manual for programmers who are writing DB-Library applications. It is written for application programmers familiar with the C programming language.
This book contains these chapters:
Chapter 1, “Introducing DB-Library,” contains a brief introduction to DB-Library.
Chapter 2, “Routines,”contains specific information about each DB-Library routine, such as what parameters the routine takes and what it returns.
Chapter 3, “Bulk Copy Routines,” contains an introduction to bulk copy and specific information about each bulk copy routine.
Chapter 4, “Two-Phase Commit Service,” contains a brief description of two-phase commit service and specific information about each two-phase commit service routine.
Appendix A, “Cursors,” introduces DB-Library’s cursor routines.
Appendix B, “DB-Library Error Messages,” contains information about DB-Library error messages.
You can see these books for more information:
The Open Server and SDK New Features for Windows, Linux, and UNIX, which describes new features available for Open Server and the Software Developer’s Kit. This document is revised to include new features as they become available.
The Open Server Release Bulletin for your platform contains important last-minute information about Open Server.
The Software Developer’s Kit Release Bulletin for your platform contains important last-minute information about Open Client™ and SDK.
The jConnect™ for JDBC™ Release Bulletin contains important last-minute information about jConnect.
The Open Client and Open Server Configuration Guide for your platform contains information about configuring your system to run Open Client and Open Server.
The Open Client Client-Library/C Programmers Guide contains information on how to design and implement Client-Library applications.
The Open Client Client-Library/C Reference Manual contains reference information for Open Client Client-Library™.
The Open Server Server-Library/C Reference Manual contains reference information for Open Server Server-Library.
The Open Client and Open Server Common Libraries Reference Manual contains reference information for CS-Library, which is a collection of utility routines that are useful in both Client-Library and Server-Library applications.
The Open Client and Open Server Programmers Supplement for your platform contains platform-specific information for programmers using Open Client and Open Server. This document includes information about:
Compiling and linking an application
The sample programs that are included with Open Client and Open Server
Routines that have platform-specific behaviors
The Installation and Release Bulletin Sybase® SDK DB-Library Kerberos Authentication Option contains information about installing and enabling the MIT Kerberos security mechanism to be used on DB-Library. DB-Library only supports network authentication and mutual authentication in the Kerberos security mechanism.
The Open Client and Open Server International Developers Guide provides information about creating internationalized and localized applications.
The Open Client Embedded SQL™/C Programmers Guide explains how to use Embedded SQL and the Embedded SQL precompiler with C applications.
The Open Client Embedded SQL™/COBOL Programmers Guide explains how to use Embedded SQL and the Embedded SQL precompiler with COBOL applications.
The jConnect for JDBC Programmers Reference describes the jConnect for JDBC product and explains how to access data stored in relational database management systems.
The Adaptive Server® Enterprise ADO.NET Data Provider Users Guide provides information on how to access data in Adaptive Server using any language supported by .NET, such as C#, Visual Basic .NET, C++ with managed extension, and J#.
The Adaptive Server Enterprise ODBC Driver by Sybase® Users Guide for Microsoft Windows and UNIX, provides information on how to access data from Adaptive Server on Microsoft Windows and UNIX platforms, using the Open Database Connectivity (ODBC) Driver.
The Adaptive Server Enterprise OLE DB Provider by Sybase Users Guide for Microsoft Windows provides information on how to access data from Adaptive Server on Microsoft Windows platforms, using the Adaptive Server OLE DB Provider.
The Adaptive Server Enterprise Database Driver for Perl Programmers Guide provides information for Perl developers to connect to an Adaptive Server database and query or change information using a Perl script.
The Adaptive Server Enterprise extension module for PHP Programmers Guide provides information for PHP developers to execute queries against an Adaptive Server database.
The Adaptive Server Enterprise extension module for Python Programmers Guide provides information about Sybase-specific Python interface that can be used to execute queries against an Adaptive Server database.
Use the Sybase Product Documentation Web site to learn more about your product:
The Sybase Product Documentation Web site is accessible using a standard Web browser. In addition to product documentation, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Documentation Web site, go to Product Documentation.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Click Partner Certification Report.
In the Partner Certification Report filter select a product, platform, and timeframe and then click Go.
Click a Partner Certification Report title to display the report.
Finding the latest information on component certifications
Point your Web browser to Availability and Certification Reports.
Either select the product family and product under Search by Base Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Creating a personalized view of the Sybase Web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
Key |
Definition |
---|---|
command |
Command names, command option names, utility names, utility flags, and other keywords are in sans serif font. |
variable |
Variables, or words that stand for values that you fill in, are in italics. |
{ } |
Curly braces indicate that you choose at least one of the enclosed options. Do not include the braces in the command. |
[ ] |
Brackets mean choosing one or more of the enclosed items is optional. Do not include the braces in the command. |
( ) |
Parentheses are to be typed as part of the command. |
| |
The vertical bar means you can select only one of the options shown. |
, |
The comma means you can choose as many of the options shown as you like, separating your choices with commas to be typed as part of the command. |
This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.
Open Client and Open Server documentation has been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.
You might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool.
For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the documentation or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.