LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 16 Aug 2007 16:52:49 -0500
Reply-To:     SAS_learner <proccontents@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         SAS_learner <proccontents@GMAIL.COM>
Subject:      Re: FAQ: Page X of Y
Comments: To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@cdc.gov>
In-Reply-To:  <2C6B65AAC3623140922DE580669C456A0154AB61@LTA3VS001.ees.hhs.gov>
Content-Type: text/plain; charset=ISO-8859-1

Does this work Only in sas 9 and above as I tried on sas 8 like this

1481 title 'ods rtf test page X of Y'; 1482 options linesize = max 1483 obs = 100 1484 pagesize = min; 1485 1486 ods escapechar = '*'; 1487 ods rtf file = 'C:\Documents and Settings\xxx\My Documents\pharm\testpageXofY.rtf';

NOTE: Writing RTF Body file: C:\Documents and Settings\xxx\My Documents\pharm\testpageXofY.rtf 1488 %Let data = v_mh; 1489 proc print data = &Data.; SYMBOLGEN: Macro variable DATA resolves to v_mh SYMBOLGEN: Macro variable DATA resolves to v_mh 1490 title2 "&Data."; 1491 title3 j=r 'page *{pageof}'; 1492 footnote j=r 'page *{pageof}'; 1493 run;

NOTE: There were 100 observations read from the data set WORK.V_MH. NOTE: PROCEDURE PRINT used: real time 0.20 seconds cpu time 0.03 seconds

1494 ods rtf close; 1495 run;

and my result is

*ods rtf test page X of Y*

*v_mh*

*page pageof*

On 8/16/07, Fehd, Ronald J. (CDC/CCHIS/NCPHI) <rjf2@cdc.gov> wrote: > > Why I go to SAS educationals: > > http://www.sascommunity.org/wiki/Category:Page_X_of_Y > > Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov >


Back to: Top of message | Previous page | Main SAS-L page