BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
1 REPLY 1
Cynthia_sas
SAS Super FREQ
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]

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 699 views
  • 0 likes
  • 2 in conversation