In reply to chaminda.

I think you are asking about how to generate random integers in SAS.