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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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