SAS Programming - Using the output of one procedure as input to other
If I have n observaions from y1 to yn and I want to calculate p=100(j-0.5)/n
where j=1....n . In SAS terms _N_
now this n is the count of all observations. How do I get that n. I can use proc means to get that. But How can I store the output(s) of that procedure into different variables which can be used in further calculations.