|
你好bobguy!我之前用6楼里的程序运行很好!现在怎么出错了,错误信息如下,望指导,谢谢!
104 data ex3_7; /*independent sample ttest*/
105 input x @@;
106 if _n_<21 then c=1;
107 else c=2;
108 cards;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.EX3_7 has 40 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
113 ;
114
115 %let digits=6;
116 proc template;
117 define column Common.pValue;
118 notes "Default p-value column";
119 just = r;
120 format = pvalue%eval(&digits+2).&digits;
121 end;
NOTE: Overwriting existing template/link: Common.pValue
NOTE: COLUMN 'Common.pValue' has been saved to: SASUSER.TEMPLAT
122 run;
ERROR: Read Access Violation In Task [ TEMPLATE ]
Exception occurred at (66F4A97B)
Task Traceback
Address Frame (DBGHELP API Version 4.0 rev 5)
66F4A97B 0802F50C sasods:mcn_main+0x4997B
66F579B9 0802F7E4 sasods:mcn_main+0x569B9
66F45E7A 0802FB3C sasods:mcn_main+0x44E7A
58E759B7 0802FF8C sastempl:mcn_main+0x49B7
015F27C8 0802FFA0 sashost:Main+0xC204
016DD038 0802FFB4 sashost:Main+0xF6A74
7C80B729 0802FFEC kernel32:GetModuleFileNameA+0x1BA
ERROR: Read Access Violation In Task [ TEMPLATE ]
Exception occurred at (66F4A97B)
NOTE: PROCEDURE TEMPLATE used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE: The SAS System stopped processing this step because of errors.
123
124
125 proc ttest;
126 var x;
127 class c;
128 run;
ERROR: Read Access Violation In Task [ TTEST ]
Exception occurred at (66F4A673)
Task Traceback
Address Frame (DBGHELP API Version 4.0 rev 5)
66F4A673 0802FA54 sasods:mcn_main+0x49673
66F4A52F 0802FAEC sasods:mcn_main+0x4952F
3F83ABC8 0802FBA4 sasttest:mcn_main+0x9BC8
3F831083 0802FF8C sasttest:mcn_main+0x83
015F27C8 0802FFA0 sashost:Main+0xC204
016DD038 0802FFB4 sashost:Main+0xF6A74
7C80B729 0802FFEC kernel32:GetModuleFileNameA+0x1BA
NOTE: The SAS System stopped processing this step because of errors.
ERROR: Read Access Violation In Task [ TTEST ]
Exception occurred at (66F4A97B)
NOTE: PROCEDURE TTEST used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
而无论怎么运行,output窗口里只有
The SAS System 03:04 Monday, June 22, 2009 1
The FREQ Procedure
|