LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 12 Apr 2004 16:59:28 -0400
Reply-To:     "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Subject:      Re: Macro Question?
Comments: cc: "Ross, Michael D" <michael.ross@ASTRAZENECA.COM>
Content-Type: text/plain; charset="us-ascii"

> From: Ross, Michael D [mailto:michael.ross@ASTRAZENECA.COM] > This piece of data gets fed into a Macro variable, but > because of the extra parenthesis - it causes sas to blow. Is > there a way to read whatever is in the dataset variable as > pure text and bypass any tokens that cause this problem? > > datalines; > (HELLO) THERE)

you can clean up your var w/this:

DataLines = translate(DataLines ,' ' %*to space; ,'()' %*from parens; );

Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov

--> cheerful provider of UNTESTED SAS code from the Clue?Gee!Wrx <--


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