Progress
Embedded SQL-92
Guide and Reference


Invoking the ESQLC Command

This is the syntax for invoking the ESQLC command:

SYNTAX
ESQLC [ option_list ] file_name_list 

option_list

Options that are recognized and processed by the ESQL precompiler have the plus sign (+) prefix to avoid clashes with options supported by a C Language compiler and linker. Available options you can specify in the option_list are:

SYNTAX
+T  |  +K  |  +P  |  +L  |  +V  |  +G   

+T

Directs the precompiler to interpret the embedded SQL source code in a file with the .pc suffix, and generate C source code. There is no further processing of the generated C source code. When you specify +T, the precompiler sets the +K option, which retains any intermediate files.

+K

Directs the precompiler to retain any intermediate files.

+P

Directs the precompiler to run the C preprocessor on the input file before translating the SQL statements in the input file. This allows you to use #define symbols in ESQL statements.

NOTE: If your application inserts integer values into a database and you specify the +P precompiler option, you must not have leading zeroes in the integers.

+L

Suppresses redefinition of source line numbers in the generated C code to simplify debugging of host-language statements. This facilitates tracing in source code since the line number shown by a debugger corresponds to that in the ESQL source file.

+V

Displays the commands the precompiler invokes as it processes the files. Keeps intermediate C source code and object files. If you omit this option, the precompiler does not keep any intermediate files.

+G

Inserts debug print statements, sets the +V and +K options, and passes the debug directive to the compiler.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095