楼主: yz7891
9430 4

来看看 sas ods output问题 [推广有奖]

  • 0关注
  • 0粉丝

本科生

86%

还不是VIP/贵宾

-

威望
0
论坛币
18 个
通用积分
0
学术水平
0 点
热心指数
4 点
信用等级
0 点
经验
615 点
帖子
100
精华
0
在线时间
61 小时
注册时间
2010-3-30
最后登录
2019-6-3

楼主
yz7891 发表于 2010-5-11 15:38:31 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
ods output ParameterEstimates=in1.ParameterEstimates&i.;
我用ods output的方法输出Logistic回归分析的结果。
循环六次得出六个数据集 ,然后我想从随便一个数据集中取出数据,
proc sql;
create table a as
select DF from in1.ParameterEstimates1
;
quit;
proc print data=a;run;
运行没有任何报错,但是不管怎样都出不了数据,也就是print不出东西  LOG如下 :
560  proc sql;
561  create table a as
562  select DF from in1.ParameterEstimates1
563  ;
NOTE: Compression was disabled for data set WORK.A because compression overhead would increase the
      size of the data set.
NOTE: Table WORK.A created, with 7 rows and 1 columns.

564  quit;
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.10 seconds
      cpu time            0.06 seconds


565  proc print data=a;run;

NOTE: There were 7 observations read from the data set WORK.A.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds

这是什么原因? 之前好像运行的时候有一个
WARNING: Data too long for column "VAR1"; truncated to 96 characters to fit.

这个问题应该怎么解决呢?我用proc contents想看下,也是没有报错,但是不出任何东西……
SAS 内部产生数据集里面有数据……
二维码

扫码加我 拉你入群

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

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

关键词:output outpu ods Out put SAS output ods

回帖推荐

lvjinghui 发表于4楼  查看完整内容

ods listing closed; ods output ParameterEstimates=in1.ParameterEstimates&i.; proc logistic ; *****core code**** run; ods output closed; ods listing; listing 只有在开启状态才会产生proc print 的lst 结果!

本帖被以下文库推荐

沙发
mydo 发表于 2010-5-12 10:30:52
试试 proc sql flow=30;
   create table a as...
看行吗?

藤椅
jingju11 发表于 2010-5-12 10:59:47
1# yz7891

Looks like the listing window closed; hence there is no result in output window.
Can you try that?

  1. ods listing;
  2. proc print data = a; run;
复制代码

板凳
lvjinghui 发表于 2010-5-12 12:58:02
ods listing closed;
ods output ParameterEstimates=in1.ParameterEstimates&i.;
proc logistic ;
    *****core code****
run;
ods output closed;
ods listing;
listing 只有在开启状态才会产生proc print 的lst 结果!

报纸
yz7891 发表于 2010-5-12 14:18:48
解决了 谢谢各位

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-25 11:47