In the Macro editor view, you can insert, modify, delete
lines in a generated Macro file to complement or modify the COBOL
code of the Macro. It offers the standard editing functions and features
of LPEX editor (program parsing, view filtering...) and with a system
of colors, you can clearly identify lines and tags in the Macro.
You can open the
PDP Macro editor from a
MacroName.cblgen file. This file is saved either in the
Design Explorer view if the Macro was created locally, or in the
Navigator view if the Macro was generated in
Pacbase and imported into
the Design perspective. If you right-click on a
MacroName.cblgen file and select ,
the
PDP Macro
editor opens. It consists of an editor view and of a Macro tags tree
tab. The editor view looks like in the following figure:
Figure 1. PDP macro editor.
The lines in the Macro code are identified by different colors:
- The gray lines are retrieved from the models and cannot be modified
by the editor,
- The green color is the default color used for comment lines. You
can directly modify the comments in the editor.
- The yellow color identifies the tags that are listed in the Macro
tags tree.
- The other colors used in the editor are proper to the LPEX editor
standard.
All the default colors can be modified in a wizard accessible
with .
Using the
pop-up menu, you can to display the tags or hide them; You just have
to right-click in the Macro editor and select or Without tags.
The editor instantly displays all the updates performed in
the Macro tags tree view. When you select a tag
in the tree, the item selected is highlighted in the Macro editor.