***************************************************************************** * * README for C Sample Install Client * * Last update: April 2006 * * The db2/samples/c directory contains this README file and a C program * InstallTester.c. The program InstallTester.c is used to run the DB2 * install process through an external client. * * This README file describes the sample files in the directory. It is * recommended that you copy the files from the directory to your working * directory prior to building the sample program. * ***************************************************************************** * * MESSAGE PROTOCOL * * The sample program shows how to handle messages sent out in * machine-readable format. * * For more information on the message protocol used by the installer, * please refer to the documentation located at: * * http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.uprun.doc/doc/t0023996.htm * ***************************************************************************** * * QUICKSTART * * 1) Copy db2/samples/c/* to a working directory * * 2) If you have a compatible make program on your system, you can use the * makefile provided. Rename the makefile that matches your platform from * 'Makefile.' to 'makefile'. * Modify the Makefile to reflect your environment. * * Execute 'make all' in your working directory. * * Note: * The makefile provided will only work if a compatible make executable * program is resident on your system in a directory included in your * PATH variable. Such a make utility may be provided by another * language compiler. * * 3) If you do not have a compatible make utility, you cannot use the * makefile. * You can use a compatible compiler to build the sample program. * * To build the program without a compatible make utility: * * In General: * -o InstallTester InstallTester.c * * AIX: * xlc -o InstallTester InstallTester.c * * Linux: * gcc -o InstallTester InstallTester.c * * Solaris: * cc -o InstallTester InstallTester.c HP: * cc -o InstallTester InstallTester.c * * 3) Modify the response file to contain the following keyword: * INTERACTIVE = MACHINE * * 4) Start the DB2 installation using the sample program with the following * command: * * ./InstallTester -r * ***************************************************************************** * * C SAMPLE INSTALL CLIENT DESCRIPTIONS: * * The following are the C sample files included with DB2. For more * information on the sample programs, refer to the program source files. ***************************************************************************** * README: this file * Makefile.AIX: makefile for AIX * Makefile.Linux: makefile for Linux * Makefile.SunOS: makefile for Solaris * Makefile.HPUX: makefile for HP ***************************************************************************** * Sample C client * * InstallTester.c - Sample DB2 install C client * InstallTester.h - Header file for InstallTester.c *****************************************************************************