How the precompiler processes your applications

The Embedded SQL precompiler translates Embedded SQL statements into COBOL data declarations and call statements. After precompiling, you can compile the resulting source program as you would any conventional COBOL program.

The precompiler processes your application in two passes. In the first pass, the precompiler parses the Embedded SQL statements and variable declarations, checking the syntax and displaying messages for any errors it detects. If the precompiler detects no severe errors, it proceeds with the second pass, wherein it does the following:

NoteFor detailed descriptions of precompiler command line options, see the Open Client and Open Server Programmer’s Supplement.