PROC CLUSTER allows you to pass both coordinate data and distance data.
If the data are coordinates, PROC CLUSTER computes Euclidean distances.If you want non-Euclidean distances, You may use the DISTANCE procedure to compute an appropriate distance data set that can then be used as input to PROC CLUSTER.
Assuming that you would like to use Euclidean distance then you are not required to do the extra step of converting your data to distances.
If you already have a distance matrix as input then you can use the TYPE= option on a data step to indicate to PROC CLUSTER or KMEANS that the data set is a distance matrix.
https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=ledsoptsref&docsetTarg...
I hope this information helps.