( ** Go back to PARENTPAGE ../setop_17_d_intersection.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Operator to Get The Subgroups Intersection

Use the d& to get the intersection of the subgroups in datasets represented by set variables. The d& can be followed by two or more set variable to print the subgroups intersection. If the set variables have subgroup labels by the same name then labinate your set operator by preceding prefixing it with the comma operator.

ASPL 1> d& g1 g2
Get the intersection of the subgroups, not of their elements, of the set variables g1 and g2.

ASPL 2> d& g1 g2 g3
Get the intersection of the subgroups, not of their elements, of the set variables g1, g2, and g3.

ASPL 3> d&`c= g1 g2 g3
Get the intersection of the subgroups, not of their elements, of the set variables g1, g2, and g3 where the subgroup checksums are the same.

ASPL 4> quit
quit