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

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