How to rank multiple variables in a large data set?
<p>I have a data set of around 50 million records with around 30 variables(columns).
I need to rank the dataset for each variable. </p>

<p>Proc rank does not work since it required lot of memory for this large dataset.</p>

<p>To give rank manually, I have to sort the dataset on the respective variable column and then give rank by using a formula. But the problem is we have to sort the dataset 30 times on 30 variables which will take very very long time and not feasible. </p>

<p>What alternates can we use in this case?</p>