Rational Programming Patterns

Macros

Here you can see the same information as in the -CP Lines tab. You can see the line number of the Macro call in the generated instance and the parameters, if any, of this call.

The Macros category shows all the Macros called in the Program or Screen. If you right-click it, you can add a Macro.

Each Macro call shows the Macro name and line number in the first column, and the Macro label in the second column.

If you expand a Macro call, you can see and modify its:

Line number
This field contains the line number, constituted of two numeric characters. When a Macro is parameterized, it is used to call it more than once into the same program.
Nested inside the Macro call level, you can see the following elements:
  • The Macro itself, with fields which correspond to its definition.
    Name
    The name is entered when the instance is created and cannot be changed later.
    Label
    You can overwrite the label here.
    COBOL program ID
    This code identifies the generated Macro in the following places:
    • the IDENTIFICATION DIVISION
    • a source modules library
    • the executable modules library
  • The parameters. You can see the value of the parameter in the second column. You can modify it by expanding the parameter and overwriting their values.
  • The Calling element is set to true if the value of the parameter is not a character string but an instance.

Terms of use | Feedback

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