3. Programming Ingres DTP Applications : How You Create an Ingres DTP Application
 
Share this page                  
How You Create an Ingres DTP Application
You create an Ingres DTP application using SQL statements embedded in C or COBOL programs (depending on what your TP vendor supports). For details about creating embedded SQL programs, see the Embedded SQL Companion Guide. For details about configuring and operating specific TP products with Ingres DTP, see the appendices of this guide.
The overall process for creating an Ingres DTP application is as follows:
1. Create or modify the source code according to conventions described in your TP vendor documentation and in this guide.
2. Preprocess the source code using the ESQL preprocessor. For details, see the Embedded SQL Companion Guide.
3. Compile the resulting source code. For details, see the Embedded SQL Companion Guide.
4. Link the resulting object module with the following libraries:
TP libraries
Ingres DTP libraries (which provide XA entry points for the TM)
Ingres embedded SQL libraries. For details, see the Embedded SQL Companion Guide
Note:  Application servers must include an SQLCA. For details, see the SQL Reference Guide. To correctly build an application server, you must have read access to the $II_SYSTEM/ingres/files subdirectory.