Switch to standard view 
  Sybase logo
 
 
 



Summary

This download contains the sample programs to accompany the DB-Library to Client-Library Migration Guide. The programs are Client-Library versions of the DB-Library sample programs shipped with the product.

Contents

This TechNote contains the following sections:

Disclaimer

Important: Read this disclaimer before using the enclosed code:

THIS CODE IS BEING DISTRIBUTED FREE OF CHARGE. IT IS NOT A SYBASE PRODUCT, IS NOT SUPPORTED BY SYBASE AND IS PROVIDED “AS-IS” WITHOUT WARRANTY OF ANY KIND. SYBASE DISCLAIMS ALL WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, MERCHANTABLE QUALITY, NONINFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE (WHETHER ARISING BY STATUTE OR IN LAW OR AS A RESULT OF A COURSE OF DEALING OR USAGE OF TRADE). IN NO EVENT SHALL SYBASE BE LIABLE FOR LOSS OF PROFITS OR LOSS OF DATA OR ANY DAMAGES WHATSOEVER INCLUDING WITHOUT LIMITATION DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES, EVEN IF SYBASE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Download the Samples

The download contains all the program, header, and datafiles, as well as a sample makefile for Unix platforms. Create a directory for the samples and associated files, and download the compressed file for your platform:

Expand the download using the WinZip or tar utility.

Build Instructions

To make these sample programs, you must install the Client-Library sample programs shipped with the product. Typically, these files are installed as part of the Open Client/ C Developer’s kit on all supported platforms. These sample program files can be found in one of the following directories, depending on the product version:

The sample directory includes a makefile and README. Use the makefile as a guide to build the samples below. See the README for the environment variables to set. The Client-Library samples directory also contains exutils.c, a file required to build some of the samples below.

The migration samples in this download do not include DB-Library versions of the converted examples (except for dbfirst.c). The migration samples are conversions of the DB-Library product samples. If you have the Open Client/C Developer’s kit, you will also find the DB-Library samples shipped as part of the product.

List of Programs

The following programs are included in this download:

List of Source Files

In addition to the sample program files (<program_name>.c), the following source files are included in this download:



Back to Top
© Copyright 2010, Sybase Inc.