Preprocessing

From InterBase
Jump to: navigation, search

Go Up to Preprocessing, Compiling, and Linking


After coding a SQL or dynamic SQL (DSQL) program, the program must be preprocessed with gpre before it can be compiled. gpre translates SQL and DSQL commands into statements the host-language compiler accepts by generating InterBase library function calls. gpre translates SQL and DSQL database variables into ones the host-language compiler accepts and declares these variables in host-language format. gpre also declares certain variables and data structures required by SQL, such as the SQLCODE variable and the extended SQL descriptor area (XSQLDA) used by DSQL.

Topics