邓贵大 发表于 2013-11-1 20:42
Dwyane, I don't know much about Macro.
saslog.txt
(860 Bytes)
邓大,跑了一遍,貌似不太对,把log内容给贴上来了,你在帮忙看看。。。谢谢哈
NOTE: PROCEDURE PRINTTO used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds
208 data quextion;
209 infile datalines end=eof;
WARNING: The value of the INFILE END= option cannot be set for CARDS or DATALINES input.
210 input year site;
211 array x[5,5] _temporary_;
212 array a[5];
213 site_1=lag(site);
214 if _n_=1 then call pokelong(repeat(put(0,rb8.), 25), addrlong(x[1,1]), 25*8);
215 else x[site_1, site] = x[site_1, site]+1;
216 if eof then do i=1 to 5;
217 do j=1 to 5;
218 a[j] = x[i,j];
219 end;
220 output;
221 end;
222 keep a1-a5;
223 cards;
NOTE: The data set WORK.QUEXTION has 0 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds