The CORR procedure in SAS calculates several types of correlation between variables: - Pearson product-moment correlation for linear relationships - Rank correlations including Spearman and Kendall's tau-b - Hoeffding's measure of dependence - Partial correlations can also be calculated to assess the relationship between two variables while controlling for other variables. The procedure syntax allows specification of variables, frequency and ID variables, use of weights, and generation of correlation and scatter plots. Examples demonstrate its use for correlation and partial correlation analysis of datasets.