In reply to Bachelet.

PROC LOGISITC does this automatically. Use the ROC statement. The PROC LOGISTIC doc contains an example of comparing ROC curves.