全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1801 2
2008-10-28
Hello  everyone.
       I want to ask a question. I have a dataset without observation,and I want to produce a report with that dataset. Because no observation in that dataset, so there will no table body  in that report . But I just want to the table head . Can anyone tell me how to do that?
       I have tried the follow code, but produced nothing in the output .
                      data a;
                           length var $8;
                           stop;
                      run;
                      ods html body='c:\test.html';
                      proc print data=a noobs;
                      run;
                      ods html close;
二维码

扫码加我 拉你入群

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

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

全部回复
2008-10-29 06:46:00

不太理解哈:没有数据你还要输出它做什么?

如果你只要variable名字,可以用proc contents.

二维码

扫码加我 拉你入群

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

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

2008-10-29 20:15:00
Some time I process a dataset, I  find that there is no observation in that dataset.I also need to print that report, but just the table head. So I ask this question.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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