On this window, you can create aliases for ODBC connection strings that are hard-coded in the map (the DSNs are imbedded in the .map file when the map is generated), allowing you to change the files dynamically at runtime. (This is the –ad switch explained in ECRTP Reference Guide. This switch allows you to adapt your maps between machines and to different platforms.)
Creating an ODBC alias
Select Add
The runmap window displays.
Enter the DSN that you want to replace at runtime and select OK.
The DSN is automatically entered under ODBC Connection Strings inside Map.
Select the right arrow.
The runmap window displays.
Enter the DSN that you want to use at runtime and select OK.
The DSN is automatically entered under ODBC Connection Strings during Run Time.
You have now created an alias for the original Driver Connect String. When the program encounters the original DSN, it uses the new alias DSN in its place.
Deleting an ODBC alias
To remove a pair of DSNs on one line, highlight the line and select Delete.
Editing an ODBC Alias
Highlight the DSN you want to edit and select Edit.
The ODBC Alias window displays.
On this window, you can change the name of the DSN.