I want to randomize numbers (10180, 49740) can you help how to go about it. I tried the following :

%macro Randbetween(10180, 49740);
(&min + floor((1+-&min)*rand("uniform")))
%mend;
do i=1 to 100;
Cbsa_codeR = %RANDBetween(10180, 49740); (here didn't like the % in front of RANDBetween).
output;
end;

run;
proc print data=test(obs=200); var Cbsa_code; run; */;