Importing an ODBC record definition

When you import a record definition from an ODBC table, ECMAP uses an algorithm to find the closest match for the field being imported relative to the specific type of database used.

ECMap checks for the best match, but this is not always a straight one-to-one conversion.

Each vendor’s database is interpreted on a case-by-case basis and is not always interpreted the same way. After a database is converted into ECMap, you should analyze how the database was converted and make adjustments if needed. In some cases, there are some consistent interpretations. For example, an Oracle Date-Time field is converted to a DT field with a time stamp attribute and a TM field.

StepsImporting record definitions from an ODBC database

  1. Choose Application Files>Import Definitions>ODBC from the main menu.

    The ODBC Record Definition Import window displays.

  2. Enter the Data Source Name.

    or

    Select the up arrow and choose a Data Source from the Data Source Names window.

    If you have not yet configured the DSN or to reconfigure a previously configured DSN, select Configure Data Source to access the ODBC Data Source Administrator window.

  3. Modify the Driver Connect String, if necessary.

    ECMap creates a connect string based on the Data Source Name. Depending upon the database you use, you may need to modify the driver connect string to include a username and password. If you add them, the format of the driver connect string becomes:

    DSN=<data source name>;UID=<username>;PWD=<userpassword>.

  4. Select Continue at the bottom of the window.

    The Table Selection window displays.

  5. Select a record definition import option:

  6. On the top right section of the Table Selection window, the following information is entered:

  7. Select each record (Table Name) that contains the definition you want to import.

  8. When you have finished selecting the records, select OK to return to the main ECMap window. A message box appears, saying “Record Definition Imported”.