-
Display the content of the file to parse, as described in
Specifying the File to Parse.
-
From the display area on the left side of the
Text Parser Editor, select the text to
associate with the parameter.
A context toolbar with several options appears.
-
To map a parameter's value to the selected text, do one of the
following:
Action | Instructions |
---|
Map from a new parameter immediately |
From the context toolbar, select
. |
---|
Map from an existing parameter
immediately | From the parameter list, select a parameter. From
the list of icons at the center of the dialog box, select
. |
---|
Map to a new or existing parameter and configure the
parse |
-
From the context toolbar or the list of icons in the
center of the dialog box, select
.
-
In the dialog box that appears, type the parameter name,
which can be new or existing.
-
Select
Scalar from the
Map with list, and configure the
options described in
Configuring a Write Operation.
|
---|
Note:
You can map a parameter to multiple locations in the file. The
parser writes the same parameter value to each of the specified locations.
If you choose to map immediately,
Automation Process
Composer
creates a parameter of the appropriate type (if it does not already exist) and
maps the value of the parameter to the selected text.
- Optional:
If desired, select
to insert the contents of a selected file in front of the
line containing the selected text. You can use this option to improve the
performance of the Text Parser adapter by restricting the parsing operation to
only portions of the file that are changing.
You can enter the name of the file to insert or select the name of a file from a local
directory. The file must be present in the working directory when the Text
Parser adapter runs.
The text in the
Actions area describes the file that will be
inserted and the line number of the insertion point.
- Optional:
If desired, you can delete parameters or mappings using any of the
following methods:
-
Select a parameter and click
from above the parameter list to remove the parameter
along with its mapping.
-
Click anywhere within the highlighted text related to the
mapping. From the context toolbar that appears, click
to remove only the mapping.
-
Select a parameter and click
from the icon list in the center of the dialog box to
remove only the mapping.
-
Click
Ok to save your changes and to close the
Text Parser Editor.
|