Rational Developer for System z

PDP Macro editor view

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 Open with > PDP Macro editor (batch or dialog model), 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.
PDP Macro editor (the arrow points at the Macro editor view)
The lines in the Macro code are identified by different colors:

All the default colors can be modified in a wizard accessible with Window > Preferences > LPEX editor > Parser > Parser styles.

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 Macro > Filter view > With tags 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.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)