INTER Expression

set-expression-1 INTER set-expression-2

The INTER operator returns a set that contains the intersection of the left and right operands. This is the set that contains values that are members of both operand sets. The operands must have compatible set types.

The following statements evaluate and print a set intersection:

proc optmodel;
   put ({1,3} inter {2,3}); /* outputs {3} */