This section describes creation of a UAP for the purpose of making retrievals from manual's SGML documents.
Shown as follows is the coding of a UAP that checks the section headings in the SGML documents in order to obtain the number of instances of the keyword plug-in; a file containing this coding is created under the name sample.ec:
#include <stdio.h> |
This section describes the preprocessing.
The SQL-embedded UAP source file cannot be compiled directly. The SQL preprocessor must be started in order to convert to a post source file.
Enter the following command, then press the Enter key:
pdcpp sample.ec
A post source file named sample.ec is created.
The sample.ec file created during preprocessing is used to compile and link the UAP. Enter the following command, and then press the Enter key:
cc -o sample -I /opt/HiRDB_S/include sample.ec /opt/HiRDB_S/client/lib -lzclt
A file named sample.out is created.
To execute the UAP, use the following procedure:
Simple installation is now complete.