Previous Topic: %ParentNext Topic: %ParentCols()


%ParentAtts()

Lists all the attributes of the parent entity in a relationship and performs the specified action on each.

Note: This macro is a legacy macro and is used for logical-only or combination logical/physical models. For any new physical-only models you need to use %ParentCols(). For more information on legacy macros and their related new macros, see the topic "Legacy macros."

Syntax

%ParentAtts()

Syntax Example

%ParentAtts()

Expansion

master_number, movie_copy_number, general_condition

Full Syntax

%ParentAtts(<separator>, <function>,<prefix>)

Full Syntax Example

%ParentAtts(" or ",update,%Parent)

Expansion

update(MOVIE_COPY.master_number) or

update(MOVIE_COPY.movie_copy_number) or

update(MOVIE_COPY.general_condition)

Usage

Classified as a Relationship macro that you can use in RI override, Rel Override, %ForEachParentRel, %ForEachChildRel.