Setting up an ODBC data source for Informix on Windows
You must set up the ODBC data source for your database prior to running the Post Installation wizard for ArcSDE for Informix. If the ODBC data source was not set when the database was created and registered with the Informix Spatial DataBlade, follow the steps in this topic to set up the ODBC data source.
You must create an ODBC data source for each database you will use for an ArcSDE geodatabase.
- From the Windows Start menu, open the Control Panel.
- Double-click Administrative Tools.
- Double-click Computer Management.
-
Double-click the Data Sources (ODBC) icon.
The ODBC Data Source Administrator dialog box opens.
- Click the System DSN tab.
-
Click the Add button.
The Create New Data Source dialog box appears, displaying the list of ODBC drivers that are installed on your system.
-
Choose the IBM INFORMIX ODBC DRIVER and click Finish.
The Informix ODBC Driver Setup dialog box opens.
- Create the administrator's data source by typing the name of the data source in the Data Source Name text box.
- Click the Connection Tab to proceed to set up the connection properties.
- Choose the name of the server and database from the Server Name and Database Name drop-down lists, respectively.
- Choose olsoctcp from the Protocol drop-down list.
- Type the host name and service in their respective text boxes.
-
Leave the User Id and Password text boxes blank.
Tip:
Click Apply & Test Connection to verify that the connection parameters are set correctly.
- Click the Environment Tab to set up the environment properties.
-
Cursor Behavior must be set to 1 - Preserve cursor because ArcSDE software expects Informix cursors to remain open and active following a database COMMIT operation.
Setting the Cursor Behavior to 0 - Close will have undesirable effects during data insertions and updates.
- Type the appropriate locales in Client and Database Locales.
- Click the Advanced tab.
- Accept the default settings for the Advanced parameters and click Apply.
- Click OK to exit the Informix ODBC Driver Setupdialog box.
The data source you create appears in the System Data Sources list on the System DSN tab of the ODBC Data Source Administrator dialog box. You can update the data sources by clicking the Configure button on this dialog box. However, you should never change data sources while the ArcSDE service that uses the data source is running. Always shut down the ArcSDE service first.