楼主: wangfang202411
635 1

[问答] sas proc report 为什么会把分组变量by 的内容输出到页眉啊 [推广有奖]

  • 0关注
  • 0粉丝

学前班

40%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
50 点
帖子
1
精华
0
在线时间
5 小时
注册时间
2024-12-13
最后登录
2024-12-30

楼主
wangfang202411 发表于 2024-12-13 14:48:15 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
有大佬知道为什么我的输出 by 分组变量会输出到页眉去吗
   ods _all_ close;
ods rtf file="C:\Users\t3-1.rtf" style=style device= emf nogfootnote nogtitle
wordstyle='(\s1 Heading 1;)'
prepage="&escapechar.R/RTF'\s1' &escapechar.S={font_size=0.1pt foreground=white} %bquote(t3-1)";
proc report  data=_out_4_1 style(report)=&_ReportStyle. style(header)={font_weight=bold} split='|'
  style(report)={pretext="\outlinelevel3\b {%bquote(表 3-1:人口学统计一(FAS))} "   just=center font=("Times New Roman Symbol",10pt, bold)};
  where page=1;
  by page;   

  column checkod1 checknm1 page c0 c1 c2 c3  ;
  define checkod1/noprint;
  define checknm1/noprint;
  define page / order order=internal  noprint;

  define c0 / style(header)={just=l &_TopBorder. &_bottomborder. asis=on} style(column)={just=l cellwidth=10% asis=on}  "项目";
  define c1 / style(header)={just=c &_TopBorder. &_bottomborder. asis=on} style(column)={just=c cellwidth=10% asis=on}  %nrstr("T-R组|n(%%)");
  define c2 / style(header)={just=c &_TopBorder. &_bottomborder. asis=on} style(column)={just=c cellwidth=10% asis=on}  %nrstr("R-T组|n(%%)");
  define c3 / style(header)={just=c &_TopBorder. &_bottomborder. asis=on} style(column)={just=c cellwidth=10% asis=on}  %nrstr("合计|n(%%)");
二维码

扫码加我 拉你入群

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

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

关键词:proc report Report repor Port repo

企业微信截图_17340722119018.png (4.15 KB)

企业微信截图_17340722119018.png

沙发
whymath 发表于 2024-12-18 16:58:43
这是默认的,可以使用 option nobyline; 取消此输出

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

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