楼主: 19995387010
1128 0

[程序分享] SAS程序错误 [推广有奖]

  • 0关注
  • 0粉丝

学前班

90%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
20 点
帖子
1
精华
0
在线时间
5 小时
注册时间
2022-10-11
最后登录
2022-10-21

楼主
19995387010 发表于 2022-10-11 10:54:57 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
data prg6_2;
do a=1 to 5;
  do b=1 to 3;
    input x @@;
    output;
  end;
end;
cards;
0.82 0.65 0.51
0.73 0.54 0.23
0.43 0.34 0.28
0.41 0.21 0.31
0.68 0.43 0.24
;
proc anova;
  class a b;
  model x=a b;
  means b/snk;
run;
错误
NOTE: Copyright (c) 1999-2000 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software Release 8.1 (TS1M0)
      Licensed to LOUISIANA STATE UNIVERSITY, Site 0009396001.
NOTE: This session is executing on the WIN_PRO  platform.



ERROR: Permanent copy of file WORK._tf0001.ITEMSTOR was deleted.
ERROR: File WORK._tf0001.ITEMSTOR is not open.
ERROR: File WORK._tf0001.ITEMSTOR is not open.
NOTE: SAS initialization used:
      real time           0.94 seconds
      cpu time            0.48 seconds

1    data prg6_2;
2     do a=1 to 5;
3      do b=1 to 3;
4        input x @@;
5        output;
6      end;
7    end;
8    cards;

NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.PRG6_2 has 15 observations and 3 variables.
ERROR: Rename of temporary member for WORK.PRG6_2.DATA failed.
File may be found in C:\Program Files\SAS Institute\TEMP\SAS Temporary Files\_TD21032.
NOTE: DATA statement used:
      real time           0.01 seconds
      cpu time            0.01 seconds

14   ;


15   proc anova;
ERROR: There is not a default input data set (_LAST_ is _NULL_).
16     class a b;
17     model x=a b;
ERROR: No data set open to look up variables.
NOTE: The previous statement has been deleted.
18     means b/snk;
19   run;

ERROR: A MODEL statement must be given.


二维码

扫码加我 拉你入群

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

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

关键词:sas程序 程序错误 observations Proprietary observation

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-2 16:51