Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

DIMACROSS attribute

The DIMACROSS attribute specifies a DIMENSION attribute on a structure, but one which will be removed from the structure and propogated to its members.

The DIMACROSS attribute has the same syntax as the DIMENSION attribute except that the DIMACROSS keyword is, of course, not optional.

The DIMACROSS attribute is valid only on structures, and it is invalid if any of the immediate children already have the dimension attribute.

As an example, the declare

                Dcl
                  1 a(10) dimacross,
                    2 b,
                    2 c,
                      3 d,
                      3 e;

is equivalent to

                Dcl
                  1 a,
                    2 b(10),
                    2 c(10),
                      3 d,
                      3 e;

Terms of use | Feedback

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