2. Using Ingres Commands : iiodbcinst Command--Create ODBC Configuration File
 
Share this page                  
iiodbcinst Command--Create ODBC Configuration File
Permission required: Access to the directory where the utility is located.
The iiodbcinst utility modifies or creates the ODBC configuration file, odbcinst.ini, on UNIX and VMS. For more information on configuring the Ingres ODBC driver, see the Connectivity Guide.
Note:  The iiodbcinst utility does not write the ODBC data source configuration file odbc.ini.
The iiodbcinst command has the following format:
iiodbcinst [-batch] [-p altpath] [-rmpkg ] [-r]
-batch
Overwrites the odbcinst.ini file without prompting for confirmation.
-p altpath
Indicates an alternate target path for the odbcinst.ini file. The default value is /usr/local/etc or the definition of ODBCSYSINI.
-rmpkg
Removes the driver definition from the odbcinst.ini file.
-r
Forces all ODBC sessions to reject database updates (sets to read only).