The DISTANCE Procedure OverviewGetting StartedSyntaxDetailsExamplesReferences Syntax: DISTANCE Procedure 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. Copyright © SAS Institute Inc. All rights reserved. Last updated: October 28, 2020