The DATA step uses the RANUNI function to randomly generate values for variables X and Y in data set A.
data test; do n=1 to 1000; x=int(ranuni(77777)*7); y=int(ranuni(77777)*5); output; end; run;