BookmarkSubscribeRSS Feed
thanikondharish
Calcite | Level 5

ods rtf file='path' ;

proc report data=raw ;

columns cat col1 col2 col3;

run;

proc report data=raw ;

columns cat col4 col5 col6;

run;

ods rtf close;

for above program I am getting page numbers like
first page:  1 of 3
second page: 1 of 3

third page : 2 of 3

my question is how to continue page number for second page onwards

1 REPLY 1
Cynthia_sas
SAS Super FREQ

Hi:
I don't understand what you are trying to do. You don't show any title statement or any controls that insert page numbers into your ODS RTF output. Usually when you open an RTF file, you need to go into PRINT PREVIEW mode to see the page x of y page numbers, as shown below:

Cynthia_sas_0-1644256487892.png

My experience with RTF files opened in Word is that sometimes the page numbers can look odd until you do something to force Word to paginate -- I think PRINT PREVIEW does that, which is why I always recommend looking at your pages in print preview to verify margins, titles, footnotes and page numbers.


Cynthia

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 1 reply
  • 725 views
  • 1 like
  • 2 in conversation