2. Using Ingres Commands : esqlcbl Command--Invoke Embedded SQL Preprocessor for COBOL
 
Share this page                  
esqlcbl Command--Invoke Embedded SQL Preprocessor for COBOL
The esqlcbl command invokes the Ingres embedded SQL (ESQL) preprocessor for COBOL.
The esqlcbl command has the following format:
esqlcbl [flags] [filename]
flags
Specify options to the preprocessor.
These flags are common to most host language preprocessors, and are described under the esqlc Command--Invoke Embedded SQL Preprocessor for C.
The following flags are unique to the preprocessor for COBOL:
-a
Generates output in ANSI format. Use this flag if your source code is in ANSI format and you want to compile the program with the COBOL command line qualifier ansi_format.
On VMS, if this flag is omitted, the preprocessor generates output in Compaq COBOL terminal format.
filename
Specifies the name of the file that contains the embedded SQL statements.
For a complete description of the SQL preprocessor requirements for COBOL, see the Embedded SQL Companion Guide.