Hi Rick,

I am trying to do a similar thing shown in "***Randomly assign a car from sashelp.cars to each student of sashelp.class;" above. However, I would also like to have the randomly picked value satisfy a condition. How could I include a condition in the above code? For ex. the condition could be like the "year" of the car be before 2000?

Greatly appreciate your help. Thank you.