To define domain-independent parsing grammars in a dataflow:
- In Enterprise Designer, add an Open Parser stage to your dataflow.
- Double-click the Open parser stage on the canvas.
- Click Define Domain Independent Grammar on the Rules tab.
- Use the Grammar Editor to create the grammar rules. You can type commands and variables into the text box or use the commands provided in the Commands tab. For more information, see Grammars.
- To cut, copy, paste, and find and replace text strings in your parsing grammar, right-click in the Grammar Editor and select the appropriate command.
-
To check the parsing grammar you have created, click Validate.
The validate feature lists any errors in your grammar syntax, including the line and column where the error occurs, a description of the error, and the command name or value that is causing the error.
- Click the Preview tab to test the parsing grammar.
- When you are finished creating your parsing grammar, click OK.