Date: Wed, 3 Jan 2007 14:59:38 -0500
Reply-To: Dianne Rhodes <diannerhodes@COMCAST.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dianne Rhodes <diannerhodes@COMCAST.NET>
Subject: Re: Requesting help with SAS Macro - Symput, Do-loop
On Wed, 3 Jan 2007 14:51:56 -0500, SAS-L Nirmal <lazybone2k@GMAIL.COM>
wrote:
>Thanks Yu,
>
>I am pretty new to SAS and Macros, can you tell me how to define the macro
>variable as global variable and also can you tell me which variable i shud
>define as global variable.
>
If you are new to SAS, you should write SAS code to get your basic
datasteps and sorts, etc correct first. Then wrap macro code around them,
or use a strong editor and just cut and paste your code, til you
understand the code you want the macro to write for you. You can't write
good macros until you can write good repetitive SAS code.
Dianne at BLS
|