Flag | Description |
---|---|
-d | Adds debugging information to the runtime database error messages generated by Embedded SQL. The source file name, line number and statement in error will be printed with the error message. |
-f[filename] | Writes preprocessor output to the named file. If no filename is specified, the output is sent to standard output, one screen at a time. |
-l | Writes preprocessor error messages to the preprocessor's listing file, as well as to the terminal. The listing file includes preprocessor error messages and your source text in a file named filename.lis, where filename is the name of the input file. |
-lo | Like -l, but the generated Pascal code also appears in the listing file. |
-o.ext | Specifies the extension given by the preprocessor to both the translated include statements in the main program and the generated output files. If this flag is not provided, the default extension is ".pas."If you use this flag in combination with the -o flag, then the preprocessor generates the specified extension for the translated include statements, but does not generate new output files for the include statements. |
-o | Directs the preprocessor not to generate output files for include files. This flag does not affect the translated include statements in the main program. The preprocessor will generate a default extension for the translated include file statements unless you use the -o.ext flag. |
-? | Shows what command line options are available for esqlp. |
-s | Reads input from standard input and generates Pascal code to standard output. This is useful for testing statements you are not familiar with. If the -l option is specified with this flag, the listing file is called "stdin.lis." To terminate the interactive session, type Ctrl Z. |
-sqlcode | Indicates the file declares ANSI SQL code. The ANSI-92 specification describes SQLCODE as a "deprecated feature" and recommends using the SQLSTATE variable. |
-[no]sqlcod | Tells the preprocessor not to assume a declared SQLCODE is for ANSI status information. |
-w | Prints warning messages. |
-wopen | This flag is identical to -wsql=open. However, -wopen is supported only for backwards capability. For more information, see -wsql=open. |
-wsql= entry_SQL92open | Prints warning messages that indicate all non-entry SQL92 compliant syntax. Use open only with OpenSQL syntax. -wsql = open generates a warning if the preprocessor encounters an Embedded SQL statement that does not conform to OpenSQL syntax. (OpenSQL syntax is described in the OpenSQL Reference Guide.) This flag is useful if you intend to port an application across different Ingres Gateways. The warnings do not affect the generated code and the output file may be compiled. This flag does not validate the statement syntax for any SQL Gateway whose syntax is more restrictive than that of OpenSQL. |
Command | Comment |
---|---|
esqlp file1 | Preprocesses "file1.sp" to "file1.pas" |
esqlp file2.xp | Preprocesses "file2.xp" to "file2.pas" |
esqlp -l file3 | Preprocesses "file3.sp" to "file3.pas" and creates listing "file3.lis" |
esqlp -s | Accepts input from standard input |
esqlp -ffile4.out file4 | Preprocesses "file4.sp" to "file4.out" |
esqlp | Displays a list of flags available for this command |