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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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