Help using Base SAS procedures

How to display the group values on the first row of a new page

Reply
Contributor
Posts: 35

How to display the group values on the first row of a new page

Using proc report, I am having trouble to display the group values on the first row of a new page when these group values are collapsed from previous page.

This is what I am having:

name id amount

last two row of revious page:

john 123 $12
.............$13
the first row of the next page:
.............$14.

I am trying to print the first row of the new page as this:
john 123 $14.

Any help is appreciated!
Super Contributor
Posts: 394

Re: How to display the group values on the first row of a new page

What kind of output are you producing? RTF? PDF? What version of SAS are you using?
Contributor
Posts: 35

Re: How to display the group values on the first row of a new page

> What kind of output are you producing? RTF? PDF? What
> version of SAS are you using?

I am using rtf output and my SAS is SAS9.1.3 on AIX.
Super Contributor
Posts: 394

Re: How to display the group values on the first row of a new page

I don't have a solution, then. In 9.2 you can use PROC REPORT's new SPANROWS option. Sorry.
Contributor
Posts: 35

Re: How to display the group values on the first row of a new page

> I don't have a solution, then. In 9.2 you can use
> PROC REPORT's new SPANROWS option. Sorry.

Thank you very much for your answer. I'll remember to update my program once I am on SAS9.2.
Ask a Question
Discussion stats
  • 4 replies
  • 134 views
  • 0 likes
  • 2 in conversation