BookmarkSubscribeRSS Feed
SASSLICK001
Obsidian | Level 7

Hello All

I need some help regarding row wrap in the report procedure!

I am trying to allocate 20 observations from a dataset in each page in proc report. As long as observation can fit in a single line I don't have any problem!

But sometimes a single column/or any column might wrap to multiple lines, in that case the observations might pull to the next page.

So I am trying to allocate page number base on how many lines each column might wrap into. How can achieve this? Can someone help me with this, please!?

I am using Courier New font with 8.5 pt

John. C

1 REPLY 1
ballardw
Super User

Output destination and style can effect some of this though when you say something wraps to multiple lines you have a variable with very long strings and will likely not be able to get a good solution. Possibly changing to a landscape mode for output might work if that is acceptable.

Or accept fewer observations per page.

I generally worry about page numbering after output.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 663 views
  • 0 likes
  • 2 in conversation