Date: Thu, 16 Nov 2006 17:06:08 -0800
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bruce Bradbury <BruceBrad@INAME.COM>
Subject: Re: Replacing variable names in text
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.