On Windows, data sources are stored in the Windows Registry. You can configure and modify data sources through the ODBC Administrator using a driver Setup dialog box, as described in this section.
On UNIX and Linux, data sources are stored in the odbc.ini file. On Linux, you can configure and modify data sources through the Linux ODBC Administrator using a driver Setup dialog box, as described in this section.
◦ where install_dir is the path to the product installation directory.
◦ User DSN: If you are configuring an existing user data source, select the data source name and click Configure to display the driver Setup dialog box.If you are configuring a new user data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
◦ If you are configuring a new system data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
◦ File DSN: If you are configuring an existing file data source, select the data source file and click Configure to display the driver Setup dialog box.If you are configuring a new file data source, click Add to display a list of installed drivers; then, select a driver. Click Advancedif you want to specify attributes; otherwise, click Next to proceed. Specify a name for the data source and click Next. Verify the data source information; then, click Finish to display the driver Setup dialog box.Figure 74. General tab
3. On this tab, provide values for the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
4. Optionally, click the Connection tab to specify connection information. If you want to configure the data source so that the logon dialog box does not appear during connection, you must specify the connection information on this tab.Figure 75. Connection tabOn this tab, provide values for any of the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
Use Default LoginWINDOWS ONLY Service NameWINDOWS ONLY Protocol TypeWINDOWS ONLY
5. Figure 76. Advanced tabOn this tab, provide values for any of the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
IANAAppCodePageUNIX ONLYTranslate : Click Translate to display the Select Translator dialog box, which lists the translators specified in the ODBC Translators section of the Registry. Progress DataDirect provides a translator named OEM to ANSI that translates your data from the IBM PC character set to the ANSI character set.
Select a translator; then, click OK to close this dialog box.
6. At any point during the configuration process, you can click Test Connect to attempt to connect to the data source using the connection properties specified in the driver Setup dialog box. A logon dialog box appears (see Using a Logon Dialog Box for details). The information you enter in the logon dialog box during a test connect is not saved.Click OK.
7. Click OK or Cancel. If you click OK, the values you have specified become the defaults when you connect to the data source. You can change these defaults by using this procedure to reconfigure your data source. You can override these defaults by connecting to the data source using a connection string with alternate values.
![]() |
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |