In reply to bhushan kanumuri.

1. Please ask SAS programming questions at the SAS Support Communities.
2. PROC PLAN is not the DATA step. Just because the DATA step supports a wider range of seeds does not imply that procedures do.
3. In SAS 9.4M5, you can generate a random integer between 1 and M by using rand_num = rand("Integer", 1, M);