How You Build Programs for Encina
The overall process for creating an Ingres DTP application that runs with Encina is detailed below. This appendix assumes you are familiar with Ingres embedded SQL programming and with Encina Monitor programming.
Before performing the steps below, you must have:
• Installed and started Ingres 2.0 or later, and created the required databases, users, and tables
• Installed DCE (distributed computing environment)
• Installed Encina (version 1.03B or later)
• Performed the Encina DCE configuration procedure (described in the Encina documentation)
• Started the Encina monitor
The process for creating and running an Ingres DTP application with Encina is as follows:
1. Prepare the DCE environment.
2. Register the resource manager instances.
3. Create the Encina application program code.
4. Compile and link the application program.
5. Enable XA tracing (optional).
6. Run the program.
7. Verify the results (optional).
The following sections describe these steps in detail.