全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2039 8
2013-09-14
悬赏 200 个论坛币 已解决
是这样,如果直接printto,log文件太大,得几个g,所以有没有办法判断,log里包含什么字段,然后再输出的方法?
谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2013-9-14 16:46:21
B.N.F 发表于 2013-9-17 10:47
能给个例子吗
logControl.PNG
二维码

扫码加我 拉你入群

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

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

2013-9-14 21:50:49
The following are the options related to the log-content. Add NO before an option if you don't
need it. For example:  
option nodate nonumber ....;


  DATE              Print date and time on top of each page of SAS log and procedure output
NODETAILS         Do not display additional information in directory lists
NODTRESET         Do not update date and time for log and print output
LINESIZE=97       Line size for SAS log and SAS procedure output
MISSING=.         Character to represent missing numeric value
NUMBER            Print page number on each page of SAS output
NOPAGEBREAKINITIAL
                   Do not begin SAS log and listing files on a new page.
PAGESIZE=55       Number of lines printed per page of output

CPUID             Print CPU information at beginning of log
NOECHOAUTO        Do not echo AUTOEXEC input to log
LOGPARM=          SAS log file control parameters
MSGLEVEL=N        Level of messages displayed
NOTES             Write notes to the SAS log
NOOVP             Do not allow output lines to be overprinted
PRINTMSGLIST      Print extended lists of messages
SOURCE            Write SAS source statements to the SAS log
NOSOURCE2         Do not write secondary source statements from included files to the SAS log
ECHO=             Prints string to the log during startup.
RTRACE=NONE       A method for observing which files are used by the SAS System
NOFULLSTIMER      Do not write system performance statistics to the SAS log
NOMSGCASE         Do not uppercase messages before returning
NOOPLIST          Do not write the settings of the SAS system options to the SAS log
STIMEFMT=M        Specifies the format to use for displaying the time on STIMER output as
                   either seconds, minutes:seconds or hours:minutes:seconds.
STIMER            Writes a subset of system performance statistics to the SAS log
NOVERBOSE         Do not print configuration options to the screen

二维码

扫码加我 拉你入群

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

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

2013-9-14 22:03:36
yongyitian 发表于 2013-9-14 21:50
The following are the options related to the log-content. Add NO before an option if you don't
need ...
不行呀,光NOTES 也得几个G
二维码

扫码加我 拉你入群

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

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

2013-9-14 22:16:44
B.N.F 发表于 2013-9-14 22:03
不行呀,光NOTES 也得几个G
还有其他的 options, 比如 macro, output from proc。
但你应先看看log里都有什么。 不想要notes, 就用
options nonotes;


SAS documents
http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001906177.htm
二维码

扫码加我 拉你入群

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

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

2013-9-14 23:51:56
yongyitian 发表于 2013-9-14 22:16
还有其他的 options, 比如 macro, output from proc。
但你应先看看log里都有什么。 不想要notes,  ...
不是不想要note,是要note,但是如果note里面还有一些信息,就输出,其余的不输出,需要对note进行判断。
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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