Date: Thu, 25 Oct 2007 13:21:56 -0400
Reply-To: SAS_learner <proccontents@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: SAS_learner <proccontents@GMAIL.COM>
Subject: Re: Compare rtf files in SAS
Content-Type: text/plain; charset=ISO-8859-1
Yes Gerhard ,
Reading the RTF file as a dataset and make it as one variable would work, I
have seen people doing it in my Old Job. The Macro that reads the RTF and
make it a dataset was pretty complicated, I do not know weather some body is
ready to share utiliity macro like that. Atleast I do not if there is one
available out in free world.
On 10/25/07, Gerhard Hellriegel <email@example.com> wrote:
> RTF is a binary construct. I think it depends on what you understand
> as "equal". Does that mean, each byte is the same like in the other file?
> Or the contents (text)?
> If it is the content, you should compare the SAS data, which lead to the
> RTF files.
> If it is binray, I think there are several free- or shareware tools to do
> that. In SAS? Maybe you could read the RTF as raw-file in a SAS file with
> one variable. Then you could use PROC COMPARE. Don't know, if that works.
> On Thu, 25 Oct 2007 07:55:19 -0700, Monk <venkateshnt@GMAIL.COM> wrote:
> >Hi everyone,
> >Is there a way in SAS to compare two rtf files, created by SAS ODS.
> >How do I have to read those rtf files to compare? Is any body having
> >sample programs to do this, I couldn't find one on web? Please let me
> >Any suggestions will be greatly appreciated.