SAS中文论坛

标题: 关于ODS,请问ODS rtf中,如何写文本 [打印本页]

作者: shiyiming    时间: 2004-10-26 15:17
标题: 关于ODS,请问ODS rtf中,如何写文本
如果用
proc print data=temp;
title '一、概述';
run;
proc print data=temp2;
title '二、行业分析';
run;
则是'一、概述'在页眉中出现,而且两个表出现在两页中,不能放在一页中,如何解决?
作者: shiyiming    时间: 2004-10-26 18:43
标题: try it.
data _null_;
file print;
put "一、概述";
run;

proc print data=temp;
run;

data _null_;
file print;
put "二、行业分析";
run;

proc print data=temp2;
run;

Hope it can help.
作者: shiyiming    时间: 2004-10-26 21:09
标题: 谢谢版主,但是好象还是不行
这个程序的结果是:第一页 一-概述
第二页  temp1的表
第三页 二、行业分析
第四页 temp2的表

不能把这些内容放在一页中,请教有何办法
<!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
作者: shiyiming    时间: 2004-10-26 23:54
标题: use option _ startpage=
使用以下选项,"startpage=no"。

ods rtf file='c:\test.rtf' startpage=no;
作者: shiyiming    时间: 2004-10-27 01:15
标题: I think student is correct
here is a tip

<!-- m --><a class="postlink" href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0112B&amp;L=sas-l&amp;P=R32044">http://www.listserv.uga.edu/cgi-bin/wa? ... l&amp;P=R32044</a><!-- m -->
作者: shiyiming    时间: 2004-10-27 12:40
标题: thx,继续提问
请问如何把上面程序产生的标题的边框去掉?
作者: shiyiming    时间: 2004-10-28 02:51
标题: maybe
There are options we can use to control where titles and
footnotes appear. Normally titles and footnotes appear as part of
the graphic. However by setting the options NOGTITLE and
NOGFOOTNOTE on the ODS RTF statement our titles and
footnotes, respectively, will now appear in the header and footer
areas of the document.
作者: shiyiming    时间: 2009-10-27 03:58
标题: Re: 关于ODS,请问ODS rtf中,如何写文本
和楼主同样的困惑,怎么把标题的边框去掉。就是把data _null_中的内容变成文本,而不是表格。




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2