The SAS Output Delivery System and reporting techniques

Not getting column headers in ods rtf output on each page

Reply
N/A
Posts: 0

Not getting column headers in ods rtf output on each page

I am displaying ods rtf output but unable to get column headers on each page except on first page. I am using style=journal. can anybody help in getting the column headers on each page
SAS Super FREQ
Posts: 8,868

Re: Not getting column headers in ods rtf output on each page

Posted in reply to deleted_user
Hi:
That -is- odd. When I run the code below with either PRINT or REPORT or DATA _NULL_, I get column headers on each page.

However, if you are using PROC MEANS, then this Tech Support note explains a similar issue:
http://support.sas.com/kb/6/194.html

The note contains a workaround for PROC MEANS. If your issue is not with PROC MEANS, but is, instead, with another SAS procedure, my recommendation is to contact Tech Support so they can track the issue and help you with a workaround.

cynthia
[pre]

** test code;
options orientation=portrait;
ods listing close;

ods rtf file='c:\temp\testhdr.rtf'
style=journal;

proc print data=sashelp.shoes(obs=70);
title 'Do Headers Repeat?';
run;

proc report data=sashelp.shoes(obs=70) nowd;
title 'Proc Report Test';
run;

title 'With DATA _NULL_';
data _null_;
set sashelp.shoes;
file print ods;
if _n_ le 70 then do;
put _ods_;
end;
run;

ods rtf close;
[/pre]
Ask a Question
Discussion stats
  • 1 reply
  • 127 views
  • 0 likes
  • 2 in conversation