BookmarkSubscribeRSS Feed
tejeshwar
Calcite | Level 5
Hi,

I am currently using Proc Report through ODS to get a certain data directly printed on to the outbox and send through mail. My Data looks like

ABC 10 1.2 46
BCD 11 2.4 23
A12 23 4.6 54

My question- Is there a way I can put a seperator BAR after 2 entry? or rather after certain records.

Thanks,
Tej
2 REPLIES 2
sfleming
Calcite | Level 5
You might investigate the COMPUTE and LINE statements in PROC REPORT. For example, to add 30 dashed lines between groups:

compute after ;
line 30*"-";
endcomp;

There are probably more aesthetic ways to use the LINE statement with ODS.
tejeshwar
Calcite | Level 5
Thank You,

I used the Line statement along with compute to get exactly what I wanted.

Tejeshwar

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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