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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 replies
  • 285 views
  • 0 likes
  • 3 in conversation