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 (September 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 30 Sep 2008 07:56:54 -0400
Reply-To:     Nathaniel.Wooding@DOM.COM
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?
Comments: To: RolandRB <rolandberry@HOTMAIL.COM>
In-Reply-To:  <a915c5db-2572-4436-bc52-f6994e038ff9@y21g2000hsf.googlegroups.com>
Content-Type: text/plain; charset="US-ASCII"

Roland

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.

HTH

Nat

Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Castlewood Rd Richmond, VA 23234 Phone:804-271-5313, Fax: 804-271-2977

RolandRB <rolandberry@HOTM AIL.COM> To Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU Discussion" cc <SAS-L@LISTSERV.U GA.EDU> Subject Has anyone got a file compare utility written in sas? 09/30/2008 05:25 AM

Please respond to RolandRB <rolandberry@HOTM AIL.COM>

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.


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