Creating A Data Source Name File - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Configuring a Connection

12-2-5 Creating a Data Source Name file

12-2-5-1 Creating a New DSN
Type
Provider Name
Index Server MSIDXS
ODBC
MSDASQL
Drivers
Oracle
MSDAORA
SQL Server SQLOLEDB
Data Shape MSDataShape
Persisted
MSPersist
Records
Simple
MSDAOSP
Provider
The above is just the list of standard providers supplied by Microsoft. Other
vendors are actively creating their own.
A Data Source Name file (or DSN for short) stores information about a
database connection in a file. The file has the extension .DSN and by default is
stored in the "$\Program Files\Common Files\ODBC\Data Sources" directory.
This type of file can be viewed with a suitable text editor e.g. "Notepad". One
advantage of using a DSN file over specifying the full path of the database is
that the DSN file remains unchanged while its contents can be re-configured to
reflect any changes in directory or database file name etc.
For Windows 98, ME and NT: From your Windows 'Control Panel', select
the ODBC Data Sources icon. This will show the ODBC Data Source
Administrator dialog box. For Windows 2000 and XP: From the 'Programs'
folder, select 'Administrative tools' and 'Data Sources (ODBC) icon (note
this is only available if the logged in user has administrative rights, and the
Taskbar properties "Display Administrative Tools' option is checked). This
will show the ODBC Data Source Administrator dialog box.
Click the 'File DSN' tab. Any Data Source Names already defined are
listed.
Click on 'Add' to create a new Data Source Name file. This will invoke the
Create New Data Source dialog box with a list of available drivers (only
drivers that are installed on your machine will be shown).
Choose the driver to access the data source and select 'Next >'.
You will then be prompted to name your Data Source. Type a suitable
name and select 'Next >'
Verify the information shown and select 'Finish' to complete this part of the
operation.
Depending on the driver selected, you may be prompted for details of the
database you wish to connect to.
A new DSN file will now exist which can be used by CX-Supervisor to
Create a Connection.
SECTION 12 Databases
Description
For Microsoft Index Server.
For existing ODBC Drivers, this ensures
that legacy data is not omitted.
Native Oracle driver simplifies access to
existing Oracle data stores.
For Microsoft SQL Server.
For hierarchical recordsets, this allows the
creation of master/detail type recordsets,
which allow drilling down into detailed data.
For locally saved recordsets.
For creating your own providers for simple
text data.
185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents