全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
7370 1
2011-11-08
proc template;
define style three1;
parent=styles.default;
replace table from output/
frame=hsides;
replace color_list/'bgh'=white; end;
run;

如上程序,却生成不了三线表,日志提示:

NOTE: 路径中没有带写权限的模板存储。 该操作将使用默认模板路径。
NOTE: 正在盖写现有的模板/链接: Three1
NOTE: STYLE 'Three1' 已保存为: SASUSER.TEMPLAT

请高手帮忙解决,谢过。

二维码

扫码加我 拉你入群

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

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

全部回复
2012-10-22 18:04:56
proc template;
define style Styles.Threelines;
parent = Styles.Default;

STYLE SystemTitle /
FONT_FACE = " Times New Roman, Comic Sans MS, Helvetica, sans-serif"
FONT_SIZE = 5
FONT_WEIGHT = bold
FONT_STYLE = roman
FOREGROUND = midnightblue
BACKGROUND = white;

STYLE SystemFooter /
FONT_FACE = " Times New Roman, Comic Sans MS, Helvetica, sans-serif"
FONT_SIZE = 2
FONT_WEIGHT = bold
FONT_STYLE = italic
FOREGROUND = midnightblue
BACKGROUND = white;

STYLE Header /
FONT_FACE = "Times New Roman, Helvetica, sans-serif"
FONT_SIZE = 4
FONT_WEIGHT = medium
FONT_STYLE = roman
FOREGROUND = midnightblue
BACKGROUND = white;

STYLE RowHeader from header /
BACKGROUND = white;

STYLE Data /
FONT_FACE = "Times New Roman, Helvetica, sans-serif"
FONT_SIZE = 2
FONT_WEIGHT = medium
FONT_STYLE = roman
FOREGROUND = black
BACKGROUND = white;

STYLE Table /
FOREGROUND = black
BACKGROUND = white
CELLSPACING = 0
CELLPADDING = 3
FRAME = HSIDES
RULES = groups;

STYLE Body /
FONT_FACE = "Times New Roman, Arial, Helvetica, sans-serif"
FONT_SIZE = 3
FONT_WEIGHT = medium
FONT_STYLE = roman
FOREGROUND = black
BACKGROUND = white;

STYLE SysTitleAndFooterContainer /
CELLSPACING=0;
end;
run;


ods rtf  style=Threelines;
title 'three';
footnote 'dfdfdf';
proc tabulate data= sashelp.class ;
class sex;
var age height weight;
table sex, (age height weight) *mean;
run;
ods rtf close;
本文来自: 人大经济论坛 SAS专版 版,详细出处参考: https://bbs.pinggu.org/forum.php?mod=viewthread&tid=1075649&page=1&from^^uid=3369630
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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