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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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