Select a Data Source from an Existing Template
You complete the Data Source Interface step to define the way the adapter handles the source file, how it is collected and how the files are being parsed. An adapter must have at least one data source interface.
When creating Text File adapters, or when editing existing ones, the user has the ability to manage data sources in the Data Source Interface step by:
For more information, see Managing Predefined Data Sources.
When first entering the step, the page opens with already filled-in values according to the template which is defined as the framework.
To select a data source from an existing template
The Data Source Templates window opens.
The data source is uploaded to the Data Source Interface step.
-OR-
In the Details tab:
Note: The path should refer to the target machine where the adapter is being deployed.
The Data Source Advanced Settings window opens.
In Line definition, select what is considered to be a line that is parsed to a structure represented by the input structure:
One record is a line to have each record in the file considered as one logical line
Entire file is a line to have the entire file considered as one record and one logical line
Multiline to have multiple logical line definitions
If Multiline is selected, at least one of the following fields must be filled:
In First line, type a regular expression that defines the first line of the logical line. It can be specified with/without Last line and/or No. of lines. For more information on regular expression syntax, see Regular Expression Syntax.
In Last line, type a regular expression that defines the last line of the logical line. It can be specified with/without First line and/or No. of lines. For more information on regular expression syntax, see Regular Expression Syntax.
In No. of lines, type the number of lines in a logical line. It can be specified with/without First line and/or Last line.
Select the Match case check box to define if the regular expression matching is case sensitive.
Click Save. The Adapter Wizard page Data Source Interface step is displayed.
Note: The selected file does not have to contain the entire data source information, but can be just a sample of it.
The Adapter Wizard page Mapping step opens.
|
Copyright © 2013 CA.
All rights reserved.
|
|