See if this come close to what you want:
data want;
set have;
strata1 = rand('table',.5,.5);
strata2 = rand('table',.17,.36,.47);
run;
The rand('table') function uses a list of proportions to randomly assign values of 1 , 2, 3 etc depending upon how many parameters are used. Since it is random you may not get exactly the number of records per cell though with large data set and not really small percentages you should get close. If not close enough re-run until they are .
... View more