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 (January 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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