Suggest that you provide the Proc Corr code and which coefficient(s) you want.
ODS OUTPUT is the most likely.
An example you should be able to run. Note that each option creates different tables that can be found in the DETAILS section of the Proc Corr to determine which table, such as the Pearsoncorr below, to request. The bit after the = is the name of the data set to create, assuming your remaining syntax is correct
proc corr data=sashelp.class
pearson spearman ;
ods output pearsoncorr=pcoef
SpearmanCorr=scoef
;
var height weight;
run;