全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2918 3
2008-07-26

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

谢谢!

二维码

扫码加我 拉你入群

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

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

全部回复
2008-7-26 02:35:00
output
二维码

扫码加我 拉你入群

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

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

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编辑过]

二维码

扫码加我 拉你入群

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

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

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 !

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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