The CA ERwin DM macro syntax commands are composed of keywords, punctuation, and parameters.
Syntax Example |
Expansion |
%ForEachAttribute() { |
master-number |
Here is an example of syntax at work using the %ChildAtts macro:
Lists all the attributes of the child entity in a relationship and performs the specified action on each one.
%ChildAtts(<separator>,<action>, <prefix>)
/*If the current relationship is <is in stock as>, then */
%ChildAtts(" or ",update)
update(movie_copy_number) or
update(master_number) or
…
Relationship macro-can be used in RI or Rel Override.
The following provides a graphical display of the example:
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |