The purpose of this tab is to call one or more Macros into
a batch or online program. If these Macros are parameterized, you
must also specify the values of their parameters. Each occurrence
of the parameter in the original Macro is then replaced by the value
entered for this particular program.
It is constituted of three different parts:
- An area which shows all the Macros called in the program.
Each
line corresponds to a Macro. All Macros are identified by the
icon.
If
values have been assigned to parameters, you can see each parameter
followed by its assigned value.
- Buttons you use to add Macros to your programs, remove existing
calls, or move them up/down.
- The Macro call section with:
- The line number,
- An Add button which you use to add 10 parameters
to the first 10 parameters initially displayed.
- A table which displays all the possible parameters, and their
corresponding values for the parameters which are called in the Macro.
These values can be:
- A simple character string,
- A Data Element, a Data Structure, or a Segment. In this case,
the box in the Entity call column is checked
and the linked instance is selected in the Linked Instance column.
It is preceded by E= (for a Data Element), D= (for
a Data Structure) or S= (for a Segment), which
shows the entity type of the selected instance.
- Buttons which represent the Macro editor tabs. Click them to open
the corresponding tabs.