leedx 发表于 2011-7-25 10:45 
不知道是什么原因,我设置成其他种子的时候,程序都没有问题,为什么设成我截图中的种子后就出现log的提示问题呢?
意思就是:%dta(seed1=201107241252,seed2=201107242252,pro=0.1,length=300);是没有问题的,可以正常运行;
但是,换成%dta(seed1=201107241286,seed2=201107242286,pro=0.1,length=300);就不能运行了,出现了截图中的提示。
哪位大侠帮忙解答一下?
Seed needs to be less than 2**31. Otherwise it will issue an running time error message. See below.
1106 data t1;
1107 call streaminit(2**31-1);
1108 x=rand('normal',0,1);
1109 seed=2**31-1;
1110 run;
NOTE: The data set WORK.T1 has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
1111
1112 proc print;run;
NOTE: There were 1 observations read from the data set WORK.T1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
1113
1114 data t1;
1115 call streaminit(2**31);
1116 x=rand('normal',0,1);
1117 run;
NOTE: Argument 1 to function STREAMINIT at line 1115 column 9 is invalid.
x=1.1509362693 _ERROR_=1 _N_=1
NOTE: The data set WORK.T1 has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds