Do they have teh same probability of occurring? If so, see @PeterClemmensen's solution. If not, you can modify it with the TABLE option on the RAND() function.
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.