OpenSQL Reference Guide > OpenSQL Reference Guide > Embedded OpenSQL > How Embedded OpenSQL Programs Are Processed
Was this helpful?
How Embedded OpenSQL Programs Are Processed
Embedded OpenSQL programs must be processed by the embedded SQL preprocessor, which converts the statements into host language source code statements. The host language statements are primarily calls to a runtime library that provides the interface to the Enterprise Access product or server. (Non‑SQL host language statements are not processed by the preprocessor.)
After the program has been preprocessed, compile and link it according to the requirements of the host language. For details about compiling and linking an embedded OpenSQL program, see the Embedded SQL Companion Guide.
The examples in this chapter use italics to indicate pseudocode that specifies the program statements that must be provided in the host language. All of the examples use the semicolon (;) as the statement terminator. However, in an actual program, the statement terminator is determined by the host language.
Last modified date: 01/30/2023