楼主: spy1889
2965 3

如何提取输出窗口中的结果? [推广有奖]

  • 5关注
  • 5粉丝

已卖:1份资源

教授

22%

还不是VIP/贵宾

-

威望
0
论坛币
1244 个
通用积分
45.7039
学术水平
41 点
热心指数
43 点
信用等级
23 点
经验
12251 点
帖子
292
精华
0
在线时间
1913 小时
注册时间
2005-5-6
最后登录
2025-12-19

楼主
spy1889 发表于 2008-7-26 01:29:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

输出窗口的结果可以转化为SAS数据集吗?

谢谢!

二维码

扫码加我 拉你入群

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

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

关键词:如何提取 sas数据集 数据集 结果 输出 窗口

回帖推荐

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

ODS STATEMENTSIn order to move beyond default behaviour, ODS provides three meansof controlling the output from a SAS procedure - ODS statements,templates, and styles. The starting point is the set of ODS statements.One or more of these statements are used toChoose a result destination (or destinations). ODS LISTING ... ODS HTML ... ODS OUTPUT ...Select desired output objects to cre ...

本帖被以下文库推荐

沙发
kuhasu 发表于 2008-7-26 02:35:00
output

藤椅
marloneusa 发表于 2008-7-26 05:20:00
using ODS output parameter_table_name=dataset;

about parameters, please see the website below. you can see the table names in your output:

http://support.sas.com/documentation/cdl/en/odsug/59523/HTML/default/a002649072.htm#a002594935

[此贴子已经被作者于2008-7-26 5:22:57编辑过]

板凳
SignPingGu 发表于 2008-7-26 10:43:00

ODS STATEMENTS
In order to move beyond default behaviour, ODS provides three means
of controlling the output from a SAS procedure - ODS statements,
templates, and styles. The starting point is the set of ODS statements.
One or more of these statements are used to
Choose a result destination (or destinations).
 ODS LISTING ...
 ODS HTML ...
 ODS OUTPUT ...
Select desired output objects to create.
 ODS SELECT ...
 ODS EXCLUDE ...
Control the type of messages written in the Log window.
 ODS SHOW ...
 ODS TRACE ...
 ODS VERIFY ...
Set a search path for template(s) to format listing and html results.
 ODS PATH ...
Select a style to control aspects of html results.
 ODS HTML STYLE= ...
 
IDENTIFYING OUTPUT OBJECTS
In order to do more than simply display an output object, you must be
able to determine its name, path and template. Trace can be turned on
or off at any time during a SAS session or SAS batch job. When trace
is on, it writes to the SAS log a record of each output object that is created.

For Example:

ODS TRACE on;
proc univariate normal data=work.normal;
 var x;
 run;
ODS TRACE off; 

You can find the output table name in the log file and transfer
output values to SAS data file.

For example:

ODS OUTPUT TestsForLocation = work.capture;
 proc univariate normal data=work.normal;
 var x;
run;

Hope this helps !

已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

总评分: 经验 + 3  论坛币 + 3   查看全部评分

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

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