楼主: 邓贵大
1421 2

[问答] 'append'方式输出到ods pdf [推广有奖]

  • 0关注
  • 18粉丝

博士生

59%

还不是VIP/贵宾

-

威望
0
论坛币
88 个
通用积分
2.1142
学术水平
182 点
热心指数
178 点
信用等级
166 点
经验
9462 点
帖子
296
精华
0
在线时间
335 小时
注册时间
2009-6-17
最后登录
2014-9-20

楼主
邓贵大 发表于 2013-11-7 10:10:51 |AI写论文
500论坛币
我已经知道ods destinations是不支持追加(append)方式,只可以覆盖的,所以我想问的只是类似的功能。
比如我有两段代码A和B,结果都要输出到同一个pdf文件。在两段代码中间呢是必须用ods _all_ close屏蔽掉输出的。
一个workaround是让A跟B写进不同的ods documents,到最后才replay这两段输出到一个pdf就可以了。
Any other idea?

最佳答案

moyunzheng 查看完整内容

为什么不用ods select none呢?
关键词:append End App ods PDF documents close
已有 1 人评分经验 论坛币 收起 理由
Imasasor + 100 + 100 我很赞同

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

Be still, my soul: the hour is hastening on
When we shall be forever with the Lord.
When disappointment, grief and fear are gone,
Sorrow forgot, love's purest joys restored.

沙发
moyunzheng 发表于 2013-11-7 10:10:52
为什么不用ods select none呢?
  1. ods pdf;
  2. title "First";
  3. proc print data=sashelp.Aacomp(obs=5) label;
  4. run;
  5. ods select none;
  6. title "TWO";
  7. proc print data=sashelp.Aacomp(obs=5) label;
  8. run;
  9. ods select all;
  10. title "three";
  11. proc print data=sashelp.Aacomp(obs=5) label;
  12. run;
  13. ods pdf close;
复制代码

藤椅
邓贵大 发表于 2013-11-14 22:22:07
moyunzheng 发表于 2013-11-7 10:10
为什么不用ods select none呢?
You're right, that's probably the best way unless I want to keep the listing output active.
Be still, my soul: the hour is hastening on
When we shall be forever with the Lord.
When disappointment, grief and fear are gone,
Sorrow forgot, love's purest joys restored.

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-29 11:05