-CP Lines tab

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 that is entered for this particular program.

It is constituted of three different parts:
  • A table that shows all the Macros that are called in the program.

    Each line corresponds to a Macro. All Macros are identified by the Macro icon.

    If values have been assigned to parameters, you can see each parameter followed by its assigned value.

    You can double-ckick a Macro to open it in the Macro editor in the context of its call in the program.

  • Buttons you use to add Macros to your programs, remove existing calls, or reorder them.
    Note: The possible actions with the buttons are also available in the contextual menu of the table.
  • The Macro call section with the following elements:
    • The line number,
    • An Add button that you use to add 10 parameters to the first 10 parameters initially displayed.
    • A table that displays all the possible parameters, and their corresponding values for the parameters that 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 instance is selected in the Entity linked column. It is preceded, in the Value column, 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 that represent the Macro editor tabs. Click them to open the corresponding tabs.

Feedback