In reply to Chris Dorger.

You can ask DATA step programming questions at the Base SAS Support Community. The DO loop is certainly not necessary, as the following example shows:

***Randomly assign a car from sashelp.cars to each student of sashelp.class;
data classCar;
call streaminit(54321);
set sashelp.class;
row_i=ceil(NRows*rand("UNIFORM"));
set sashelp.cars(keep=make model) point=row_i nobs=NRows;
output;
run;