全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2806 2
2010-12-04
data test;         *Why this programe cannot be executed?;
input year, consumption, GDP;
datalines;
1981 262 480
1982 284 514
1983 311 566
1984 354 668
1985 437 811
1986 485 908
1987 550 1043
1988 693 1355
1989 762 1512
;
run;

实在是看不出有任何的问题,但是运行后LOG的显示
ERROR: General error from the User Interface subsystem.
ERROR: DMS font returned.
45   data test;         *Why this programe cannot be executed?;
46   input year, consumption, GDP;
               -
               22
               76
ERROR 22-322: Syntax error, expecting one of the following: [, {.
ERROR 76-322: Syntax error, statement will be ignored.
47   datalines;
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.TEST may be incomplete.  When this step was stopped there were 0 observations and 0 variables.
WARNING: Data set WORK.TEST was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.04 seconds
57   ;

58   run;


而且WORK.test中也没有读入数据


为什么,请知道的指点一下。。。谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-12-4 11:11:09
Try this:
data test;         *Why this programe cannot be executed?;
input year  consumption  GDP;
datalines;
1981 262 480
1982 284 514
1983 311 566
1984 354 668
1985 437 811
1986 485 908
1987 550 1043
1988 693 1355
1989 762 1512
;
run;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-12-4 11:31:49
呵呵 太谢谢你了,原来是不能加逗号,呵呵
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群