楼主: nature_pma
2326 8

sas9.13 运行log提示 error:quit 问题 如何解决 [推广有奖]

  • 0关注
  • 0粉丝

初中生

9%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
57 点
帖子
11
精华
0
在线时间
9 小时
注册时间
2012-3-6
最后登录
2018-1-31

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
进行数据运算的时候  总是不能够成功  软件提示:  error:
                                                                             XXX: quit:
XXX是行数   有人遇到这个问题吗  头大中
二维码

扫码加我 拉你入群

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

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

关键词:Error SAS9 quit qui err error 如何

沙发
zhangfk 发表于 2012-3-11 23:10:32 |只看作者 |坛友微信交流群
可能是数据格式不对,比如时间或者有空格等,并不是所见即所得。

使用道具

藤椅
bobguy 发表于 2012-3-12 03:19:43 |只看作者 |坛友微信交流群
Please post the whole relevant log file.

使用道具

板凳
nature_pma 发表于 2012-3-12 19:56:16 |只看作者 |坛友微信交流群
NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) 9.1 (TS1M3)
      Licensed to Demo SID, Site 0047162208.
NOTE: This session is executing on the XP_PRO  platform.



NOTE: SAS initialization used:
      real time           2.18 seconds
      cpu time            1.34 seconds

1    data reg;
2    input n x1-x3 y@@;
3    cards;

NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.REG has 6 observations and 5 variables.
NOTE: DATA statement used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds


10   ;
11   run;


NOTE: Starting the Analyst Application.
12   ods preferences;
13   ods listing;
14   title1;
15   options ps=60;
16   proc printto new print=_proj_.PROJ3.RSLT0079.OUTPUT label="Analysis";
17   run;

NOTE: PROCEDURE PRINTTO used (Total process time):
      real time           0.06 seconds
      cpu time            0.01 seconds


18         title;
19         footnote;
20   *** Linear Regression ***;
21   options pageno=1;
22   proc reg data=Work.Reg;
23      model Y = X1 X2 X3;
24   run;

ERROR: 
25   quit;

NOTE: PROCEDURE REG used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds


26   proc printto; run;

NOTE: PROCEDURE PRINTTO used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


27   options ps=55;
28   quit;

使用道具

报纸
nature_pma 发表于 2012-3-12 20:00:58 |只看作者 |坛友微信交流群
错误出现在  25行

使用道具

地板
nature_pma 发表于 2012-3-12 20:01:53 |只看作者 |坛友微信交流群
bobguy 发表于 2012-3-12 03:19
Please post the whole relevant log file.
已经发上去了  帮我看下吧  谢谢

使用道具

7
nature_pma 发表于 2012-3-12 20:07:59 |只看作者 |坛友微信交流群
zhangfk 发表于 2012-3-11 23:10
可能是数据格式不对,比如时间或者有空格等,并不是所见即所得。
这是其中的命令文件
data reg;
input n x1-x3 y@@;
cards;
1 149.3 4.2 108.1 15.9
2 161.1 4.1 114.8 16.4
3 171.5 3.1 123.2 19.0
4 175.5 3.1 126.9 19.1
5 180.8 1.1 132.1 18.8
6 190.7 2.2 137.7 20.4
;
run;

使用道具

8
readhistory 发表于 2012-3-12 20:16:42 |只看作者 |坛友微信交流群
看起来没有error啊。
  1. data reg;
  2. input n x1-x3 y@@;
  3. cards;
  4. 1 149.3 4.2 108.1 15.9
  5. 2 161.1 4.1 114.8 16.4
  6. 3 171.5 3.1 123.2 19.0
  7. 4 175.5 3.1 126.9 19.1
  8. 5 180.8 1.1 132.1 18.8
  9. 6 190.7 2.2 137.7 20.4
  10. ;
  11. run;
  12. proc reg data=reg;
  13. model y = x1 x2 x3;
  14. quit;
复制代码
SAS程序员持续招聘中。。。。。

使用道具

9
zhangfk 发表于 2012-3-12 22:52:05 |只看作者 |坛友微信交流群
你现在放上来的程序没有运行错误,结果见附件。

运行结果.bmp (789.8 KB)

运行结果.bmp

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-9-21 09:00