Date: Fri, 3 Jan 2003 10:24:08 -0500
Reply-To: Shukla Kshirsagar <shuklak@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Shukla Kshirsagar <shuklak@HOTMAIL.COM>
Subject: Help with creating global macro variables
Hello everybody,
I need some help with creating some global macro variables. I am using the
following code, and I get attached error
Code:
%macro test;
%global
%do y=1 %to &numcards;
&&Slp&y;
%end;
;;;
%mend test;
%test;
Error:
Macro keyword DO appears as text. A semicolon or other delimiter may be
missing.
5699 &&Slp&y;
5700 %end;
ERROR: There is no matching %DO statement for the %END. This statement will
be ignored.
Any suggestions? Thanks for your help on this and all other questions I
haved posed to the group.
Shukla
|