BookmarkSubscribeRSS Feed
Andy_Begg
Calcite | Level 5

Hi All,

I have an issue with ODS RTF following the move from 9.1.3 to SAS EG 9.4.

If I run the same code on both environments:

ods rtf file="c:\report1.rtf";


title "Listing of CLASS data";

proc print data=sashelp.class;

run;


ods rtf close;


The RTF code generated in 9.4 contains "\pgnrestart\pgnstarts1\" which means if I combine multiple RTF files and create a table of contents each report starts at page 1 - when running the same code in 9.1.3 this does not happen so the table of contents works correctly.


I attach two screenshots of how this is being interpreted in Word. I need an option to stop this happening in 9.4 and for the "Page Number Format" in Word to be selected as "Continue from previous section" as in "Test1.PNG" picture attached.


Any help would be greatly appreciated.


Test2.PNGTest1.PNG
3 REPLIES 3
Cynthia_sas
SAS Super FREQ

Hi:

  If you have differences between 2 versions of SAS, especially with the generated RTF control strings, this is an issue to raise with Tech Support. If there is a workaround or if there is a defect that needs to be reported, then Tech Support is the appropriate team to open defect reports.

  Have you tried tagsets.rtf to see whether that makes a difference? the only other thing I can think of is putting pageno=10 or whatever number you want for the second file's page numbers.

cynthia

Andy_Begg
Calcite | Level 5

Hi Cynthia,

I will try tagsets.rtf but there are quite a number of historical programs which would need to be updated if this does turn out to be a solution.

Have you got contact details for tech support if I need to follow up with them?

Regards

Andrew

Cynthia_sas
SAS Super FREQ

Look at the tiny letters at the bottom of the forum screen. In tiny blue letters, you should see "submit a problem report" and click that link. Otherwise, to open a track with Tech Support, fill out the form at this link: http://support.sas.com/ctx/supportform/createForm  or send email to support@sas.com.

cynthia


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
  • 3 replies
  • 1716 views
  • 0 likes
  • 2 in conversation