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 (December 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 19 Dec 2011 17:45:37 +0530
Reply-To:     Anindya Mozumdar <anindya.lugbang@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Anindya Mozumdar <anindya.lugbang@GMAIL.COM>
Subject:      Re: how to solve this senario?
Comments: To: NWAY <hymadsk@gmail.com>
In-Reply-To:  <201112191025.pBICSmFO000499@wasabi.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1

> %let value= %superq(data level 1.2(a)); > ERROR: Invalid symbolic variable name DATA 1.2(A. > %put &value; > ) > > > Could you please help me on this,

A very naive way of thinking about superq would be (even though it is slightly more complex) is - "it takes a macro VARIABLE NAME as argument and replaces it with its VALUE".

So, for example -

%let v1 = hello; %let v2 = %superq(v1); %put &v2;

would print hello in the SAS log as %superq(v1) would just resolve to hello.

Going by the logic above, do you have a macro variable NAMED "data level 1.2(a)" - note that such a variable name is illegal.

Regards, Anindya


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