Previous Topic: Configuration file OblicoreInterface SectionNext Topic: Configuration File InputFormatCollection Section


Configuration File DataSourceInterface Section

The DatasourceInterface section consists of attributes specifying the connection and the connection type between the Adapter and data source. There are two types of interface, file and SQL. The main difference between the two is that for files, the Files collection is required, and for SQL, the queries collection is required.

The DataSourceInterface section also defines the way in which the Adapter manages the source file (whether it deletes the original file if it was created only for the Adapter, or whether it leaves the data if it is needed for other uses, and so on).

For file Adapters, to read and parse ASCII files, the files interface is used as shown in the following figure. Choose the following values for the settings as follows:

The Files section under the DataSource Interface node relates to the connection to the data source. Configure the following attributes.

Note: This section looks completely different for an SQL adapter.

The data source file in this example is a CSV (comma separated) file. The simplest way of parsing such files is to specify the comma as a delimiter.

Other methods available for parsing are: