BookmarkSubscribeRSS Feed
SAS_Practice
Calcite | Level 5

I am using "Flow" in Proc Report because the string length is really long in the column. Since I am using flow, the words are breaking into pieces (splitting) and a part of it is going to the next line. Is there any straight forward way to make sure no words are not breaking up? Thank you so much 

3 REPLIES 3
Ksharp
Super User

What is your output destination ? Excel or Word ?

 

define name/style={tagattr="wrap:no"};
SAS_Practice
Calcite | Level 5

Thank  you so much. Destination is word/ RTF/ PDF

ballardw
Super User

One approach is to add a SPLIT character, default / or define it on the Proc statement, at the position(s) you want the text to split instead of letting the program decide. The FLOW option will honor the character.

 

The column width will also have an impact. So you may have to provide example values and the proc report code to get a better answer for your specific case.

 

I understand that sometimes manipulating the data is cumbersome.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 776 views
  • 0 likes
  • 3 in conversation