Option Switches
Go Up to Using gpre
The option switches specify preprocessing options. The following table describes the available switches:
Switch | Description |
---|---|
-charset <name> |
Determines the active character set at compile time, where <name> is the character set name. |
-d[atabase] <filename> |
Declares a database for programs. <filename> is the file name of the database to access. Use this option if a program contains SQL statements and does not attach to the database itself. Do not use this option if the program includes a database declaration. |
-d_float |
VAX/VMS only. Specifies that double-precision data will be passed from the application in D_FLOAT format and stored in the database in G_FLOAT format. Data comparisons within the database will be performed in G_FLOAT format. Data returned to the application from the database will be in D_FLOAT format. |
-e[ither_case] |
Enables |
-m[anual] |
Suppresses the automatic generation of transactions. Use the |
-n[o_lines] |
Suppresses line numbers for C programs. |
-o[utput] |
Directs the output of |
-password <password> |
Specifies <password>, the database password, if the program connects to a database that requires one. |
-r[aw] |
Prints BLR as raw numbers, rather than as their mnemonic equivalents. This option can be useful for making the |
-sql_dialect |
Sets the SQL dialect. Valid values are 1, 2, and 3. |
-user <username> |
Specifies <username>, the database user name, if the program connects to a database that requires one. |
-x <handle> |
Gives the database handle identified with the |
-z |
Prints the version number of |
For sites with the appropriate license and are using a language other than C, additional gpre
options can be specified, as described in the following table:
Switch | Description |
---|---|
-h[andles] <pkg> |
Specifies, <pkg>, an Ada handles package. |