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 (November 2006, 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 Nov 2006 17:06:08 -0800
Reply-To:     BruceBrad@INAME.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Bruce Bradbury <BruceBrad@INAME.COM>
Organization: http://groups.google.com
Subject:      Re: Replacing variable names in text
Comments: To: sas-l@uga.edu
In-Reply-To:  <7367b4e20611160858k226570baja431159f60670974@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"

> There is no need to "prime the pump" the value assigned to the INFILE > variable associated with the LENGTH option is the value for the line > that is being read.

Thanks. I was following an example in the manual, but I see now that they needed to do some computation on the length which I don't.

> I'm not sure I completely understand your needs but a regular > expression may be more useful than TRANWRD. Do RXCHANGE when the > target is found in the line. Consider the following.

Thanks for this example. I'll come back to it one day when I need a more flexible approach.


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