/* illustration of a problem with the SAS random number generator */ /* the clock time is used by default to initialize it */ /* you do not get different randomizations if you run proc plan */ /* one after another in the same program. */ options formdlim = '-' nodate; proc plan; factors plot = 8; title 'CRD: Random permutation of 8 integers'; proc plan; factors plot = 8; title 'CRD: A second run of plan which gives the same randomization'; proc plan; factors plot = 8; title 'CRD: A third run of plan which gives the same randomization'; run;