LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: abshakes <ab_shakes@YAHOO.COM.SG>
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


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