BookmarkSubscribeRSS Feed
Jedrzej
Obsidian | Level 7

Hi,

im trying to create proc report (RTF) and text of one variable is so long that it's overlaping my footnotes.

do you have and idea how to control the size of the column that will fit in one page or continues text on another.? I cant make this variable wider

 

define var1 display style(header)={just=center} center flow style(column)=[just=l width = 16% asis = on] style(header)=[just=l asis=on];

 

regards,

 

jedrzej

 

2 REPLIES 2
Ksharp
Super User

Add a FORMAT to that variable ?

 

ods rtf file='c:\temp\temp.rtf';
proc report data=sashelp.class nowd;
define name/format=$4.;
run;
ods rtf close;
ballardw
Super User

You may have to supply more details such as your ODS RTF, or ODS Tagsets.rtf statement as options like Bodytitle, Bodytitle_aux, Keepn and Startpage plus the Ods style used can interact affecting such behaviors. We may also need the entire Report code. When you start controlling many output options you may create some interesting interactions as well.

 

ODS Tagsets.rtf has a bit more control on page layout such as Tablerows but may not address what you need if you have extremely long values crammed into a narrow column of output.

 

Reduce font size for that cell? a compute block with call define could do such based on length of the text but again, not sure if that will help enough if the text is very long.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 438 views
  • 0 likes
  • 3 in conversation