Date: Thu, 29 May 2008 15:35:55 -0700
Reply-To: jfh@stanfordalumni.org
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: Running Macros in Batch Mode
In-Reply-To: <175359.66567.qm@web76016.mail.sg1.yahoo.com>
Content-Type: text/plain; charset="ISO-8859-1"
I think we'd need to see the error messages you are getting. Are the
macros being compiled but not found when you try to execute them?
I'm also not sure what you mean by "regularly" vs. "in batch mode". Is
the %INCLUDE working correctly in batch? You may need to specify a
directory name in the %include, or change the default directory.
On Thu, 29 May 2008 12:56:29 -0700, "abshakes" <ab_shakes@YAHOO.COM.SG>
said:
> Hi All,
> I was wondering if there is a special trick that I should keep in mind
> while running a SAS program which uses Macros defined in another file.
> The PROBLEM: is when I run the program regularly, which uses macros
> defined in another file( I did include the macro using the %include
> 'abc.sas') it works perfectly fine however when i run my main program
> in batch mode, the macros are not resolved.
> Any Suggestions?
> Many Thanks,
> Abhi
>
>
> "I am not arrogant ... only better thaaaan yyyyou !!"
--
Jack Hamilton
Sacramento, California
jfh@alumni.stanford.org <== Use this, not jfh@stanfordalumni.org
|