The search for occurrences action in the editor allows
you to quickly locate text in the editor. You can select an element
in the code and other instances are displayed in the Search view.
The scope of elements that can be located using the search for
occurrences is different for COBOL and PL/I programs as shown in
Table 1.
Table 1. Supported program elements| COBOL |
PL/I |
- Procedural Statement Conditions
- Procedural End phrases
|
- IF Statement
- WHEN statements
- OTHERWISE statements
- Matching END statements
|
In the Search view the instances are highlighted
differently for read or write instance. Instances that are reads are
highlighted in gray and write instances are highlighted in gold. In
PL/I programs, only declarations are marked as write instances.