BookmarkSubscribeRSS Feed
xiangpang
Quartz | Level 8

Hello, 

 

I want to make a table with proc report. The header is like following: 

 

country -------------report-----------------

  USA     man        woman       child  

 

I tried to do that in column as 

 

columns Country ( "-------report-------" sex1 sex2 child)

 

but the result is like the following :

 

country __------------report------------__

  USA     man        woman       child  

 

Anyone knows the solution? Thanks a lot

3 REPLIES 3
PaigeMiller
Diamond | Level 26

I don't see what is wrong with the result. Explain. 

--
Paige Miller
xiangpang
Quartz | Level 8

The result has underline '__' on the two side of dash line '-------'

That is the problem. 

Reeza
Super User

Can you post your full code so we can replicate the issue?

Your SAS version and the ODS destination (PDF, LISTING, HTML, EXCEL, RTF) would also help. 

 


@xiangpang wrote:

The result has underline '__' on the two side of dash line '-------'

That is the problem. 


 

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