|
jennifer ,
It works just fine on SAS 9.1.3 on Solaris box. I am wondering where are
you calling these macros?
Toby Dunn
From: sassafras <jennifer_lin@CHIRON.COM>
Reply-To: sassafras <jennifer_lin@CHIRON.COM>
To: SAS-L@LISTSERV.UGA.EDU
Subject: quoting portions of macro variables in first pass,
unquoting in 2nd pass
Date: Thu, 10 Nov 2005 11:42:41 -0800
Here's what I'm trying to do:
GLOBAL cregion1 = AU
GLOBAL area = region
LOCAL i = 1
I need to put something like "&&c&area&i" in my code. I was thinking
that this would resolve as &cregion1 in the first pass, and then as AU
in the second pass.
But I can tell that SAS is trying to interpret &c as a macro variable
because I get this message in the log: "WARNING: Apparent symbolic
reference C not resolved."
Is there a way to quote the ampersand in front of the c for the first
pass, and then unquote it for the 2nd pass?
Thanks in advance for your help!
J
|