Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Database examples [Table of Contents] Running the example programs

[-] Chapter 2: The Embedded SQL Interface
[-] Database examples
[-] Building the examples


Building the examples

Along with the sample program is a batch file, makeall.bat, that can be used to compile the sample program for the various environments and compilers supported by Adaptive Server Anywhere. For OS/2 the command is makeall.cmd. For UNIX, use the shell script makeall.

The format of the command is as follows:

makeall {Example} {Platform} {Compiler}

The first parameter is the name of the example program that you want to compile. It is one of:

The second parameter is the platform in which the program is run. The platform can be one of the following:

The third parameter is the compiler to use to compile the program. The compiler can be one of:


Database examples [Table of Contents] Running the example programs