-
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 shortcut toolbar with several options appears.
-
To map the selected text to a parameter, do one of the following:
| Action | Instructions |
|---|
| Map to a new parameter immediately |
From the shortcut toolbar, select . |
| Map to 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 shortcut toolbar or the list of icons in the center of the dialog box,
select .
-
In the dialog box that appears, type a new or existing
parameter name.
-
Select Scalar from the Map
with list, and configure the options
described in Configuring a Read Operation.
|
Note:
You can map to a given parameter from only one location in the file.
If you choose to map immediately, Optimization Process Composer creates a parameter of the appropriate type (if it does not already exist)
and maps the value of the selected text to the new parameter.
- 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 shortcut 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.
|