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 (July 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 26 Jul 2007 11:24:03 -0400
Reply-To:   Douglas Martin <douglas.martin@CIRG.ORG>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Douglas Martin <douglas.martin@CIRG.ORG>
Subject:   Re: A simple MACRO question:

The answer is as a previous respondent said - you need a period between &datas and _08, i.e. &datas._08.

To elaborate - a single period following a macro variable name indicates the end of that macro variable name and will not appear in the macro expansion. While you don't need it in what you are doing here, for future reference if you really do want an actual period following the expansion of a macro variable, use two periods, e.g. &file..txt

On Thu, 26 Jul 2007 11:15:05 -0400, John Edward <entry_mid_level_sas@YAHOO.COM> wrote:

>The error is as belowas tobby asked for: > ... -------- > 202 >1 ! = &datas_15; By subjid; run; data &datas; set &datas_08 >&datas_15; By subjid; run; >WARNING: Apparent symbolic reference DATAS_08 not resolved. > >ERROR 22-322: Expecting a name. > .

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