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 (January 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 5 Jan 2007 21:44:36 +0000
Reply-To:   toby dunn <tobydunn@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   toby dunn <tobydunn@HOTMAIL.COM>
Subject:   Re: Help needed with a weird problem with RTF with PROC REPORT
Comments:   To: k_monal_99@YAHOO.COM
In-Reply-To:   <20070105210120.61261.qmail@web54205.mail.yahoo.com>
Content-Type:   text/plain; format=flowed

Go here it explains how to get sas to do this in RTF:

http://support.sas.com/faq/040/FAQ04010.html

Toby Dunn

To sensible men, every day is a day of reckoning. ~John W. Gardner

The important thing is this: To be able at any moment to sacrifice that which we are for what we could become. ~Charles DuBois

Don't get your knickers in a knot. Nothing is solved and it just makes you walk funny. ~Kathryn Carpenter

From: monal kohli <k_monal_99@YAHOO.COM> Reply-To: monal kohli <k_monal_99@YAHOO.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Help needed with a weird problem with RTF with PROC REPORT Date: Fri, 5 Jan 2007 13:01:20 -0800

Hi All, I am sure someone can help me out here.SAS help was not of much help so I thought I might get some help here.

The task is to put different table outputs from proc reports into one rtf file.This is how I am doing it:

ods file = "mona.rtf" ;

%macro run_all(src);

%include "C:\Mona\&src";

%mend; %run_all(prog1.sas); %run_all(prog2.sas); %run_all(prog3.sas);

ods _ALL_ close; run; ods rtf close; run;quit;

When I run this the page numbers are all wrong.Logically what SAS does is right but is there a way to get the right page numbers based on which table the output is coming from.

If prog1.sas table has 2 pages the first page should say (page 1 of 2) and then (page 2 of 2).But right now it gets the total count from the last page which is contributed from the prog3.sas table output.

I would be really thankful if anyone can provide some insight on this issue.

Mona

__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

_________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview


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