BookmarkSubscribeRSS Feed
himself
Pyrite | Level 9

Am trying to remove the space generated in the report, such that there should be no space. 

compute after col1;
   line " ";
endcomp;

himself_0-1598962181971.png

 

3 REPLIES 3
Tom
Super User Tom
Super User

Why did you add the space if you don't want it?

himself
Pyrite | Level 9
Hi Tom, the space is as a result of adding a space in col1, as its grouping
column
Tom
Super User Tom
Super User

No idea what you are asking for. Please post a small working example, just enough variables and observations to re-create the issue. Post the data for the example as a data step that anyone can run to re-create it.  Post the proc report code for the example data posted.  Explain in more detail what you want changed about the output of the report step.

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