Rational Programming Patterns for System z

Macro call

To display the contents of this section, you must select a Macro You must indicate the line number and the parameters, if any, of the Macro call. You can also access the Macro editor tabs from here. If the Macro contains parameters, you can click the button which corresponds to the Comments tab to see whether the parameters have been documented.

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.
$A to $J parameters
Initially, only the first 10 parameters ($n, with n= 1,2,...,9,0) are displayed. So you can click Add to add 10 more parameters.
Parameters
This table contains the replacement values of the parameters in the form of:
  • A simple character string (or a blank) in the Value column. The number of characters used for each parameter value corresponds to the appropriate field length for the element being parameterized. For example, if $1 is used as a function code, the value must be two characters long.
  • A Data Element, Data Structure, or Segment. The box in the Entity call column is checked and the Linked instance column then displays E=DELCO, D=DD or S=SEGT (where DELCO, DD and SEGT represent the instance code). At the time of transformation, the parameter is replaced by DELCO, DD or SEGT and cross-references are set up.

Terms of use | Feedback

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