The following statements are available in the DISTANCE procedure:
PROC DISTANCE
<options> ;
BY
variables ;
COPY
variables ;
FREQ
variable ;
ID
variable ;
VAR
level (variables </ options>) ;
WEIGHT
variable ;
Both the PROC DISTANCE statement and the VAR statement are required.