Hello, I am attempting to create a unique, random ID variable for all existing IDs within dataset y. I have played around with a bunch of code however, I get a few duplicate IDs each time. How do I transform the below code to produce a unique, random number between 1 and 10**8? I have used streaminit(1) to ensure the same random numbers are generated on each run. Data x; Set y; Call streaminit(1); ID = RAND('Integer',(10 ** 8)); Run; Thank you in advance,
... View more