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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 720 views
  • 0 likes
  • 2 in conversation