Help using Base SAS procedures

Proc report-underline or highlight every 2nd row

Reply
Valued Guide
Posts: 858

Proc report-underline or highlight every 2nd row

Hello,

I have an output that I would like to seperate every 2nd row.  Either with an underline or highlighting.  I'm not married to proc report either.  If there is another procedure where it is easier I'm glad to use it.  I've attached the output, hopefully that will help you understand what I'm trying to do.

Thanks in advance,

Mark

Attachment
Super User
Posts: 17,898

Re: Proc report-underline or highlight every 2nd row

Its called "Banding"

http://support.sas.com/resources/papers/proceedings13/366-2013.pdf

Last example in this paper explains how to do it in Proc Tabulate.

Valued Guide
Posts: 858

Re: Proc report-underline or highlight every 2nd row

Is there a way to do this for a large dataset without listing the variable name in a proc format?  I tried to use the mod function even/odd but that isn't working.

Super User
Posts: 17,898

Re: Proc report-underline or highlight every 2nd row

Respected Advisor
Posts: 3,777

Re: Proc report-underline or highlight every 2nd row

This example from a few days ago should help.

https://communities.sas.com/message/182966#182966

Ask a Question
Discussion stats
  • 4 replies
  • 175 views
  • 0 likes
  • 3 in conversation