Date: Tue, 30 Sep 2008 07:56:54 -0400
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <Nathaniel.Wooding@DOM.COM>
Subject: Re: Has anyone got a file compare utility written in sas?
Content-Type: text/plain; charset="US-ASCII"
I once saw someone compare SAS programs, yes, SAS code, by reading the
lines in as SAS character variables and then then used Proc Compare to
analyze the similarities and differences between pairs of programs.
This appeared in a SUGI paper, maybe at the San Antonio meeting. The author
had inherited some 20,000 or more lines of code and it appeared that there
were large redundant chunks. By using this comparison technique, he
identified common blocks of code and moved these macros or code chunks that
could be stored as units and then included in jobs either by concatenation
of the job stream (this was batch processing on MVS) or by %include.
Environmental Specialist III
Dominion, Environmental Biology
4111 Castlewood Rd
Richmond, VA 23234
Phone:804-271-5313, Fax: 804-271-2977
Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU
Has anyone got a file compare
utility written in sas?
Please respond to
Has anyone got a file compare utility written in sas? It's not often I
ask for such a utlity (or macros) since I have collected so many
macros but such a utility would be useful for validation work on my
sas macros. This is for "files" and not datasets. Input lengths will
need to go to maximum line size (256) but if it is not restricted to
this then so much the better.
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.