Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to run SAS Macro in Win XP?

Status
Not open for further replies.

saqi2000

Programmer
Apr 11, 2002
84
GB
Hi Their,

I write 90% programs are written using macro. When I try to run any program which uses macro does not produce any result. Is it because macro are not in the same directory or I can't run SAS Macros in window environment.

Thanks
[blush] or :~/
[blush] or :~/Saqi[blush] or :~/
[blush] or :~/
 
Hi Saqi,

I don't have XP, but I have no general macro lookup problem identified so far. Where did you develop before so it worked?

Generally you have to point to those directories that contain non-std macros, or you must have executed the definitions before, e.g. in the source or via includes. To specify the the dir(s), execute this, e.g. in SAS's autoexec:

Code:
filename someMacs 'c:\my_sas\macros\';
options sasautos=(sasautos someMacs);

Cheers,
Matthias
 
Matthias,

I only started developing recently (2months). It was mix of UNIX and Windows 95. I could not see any output in UNIX easily, I hade to generate report which was lot of time writing code to output into a file. The reason I want to do all the development in Windows is Script Editor,log, output and datasets are only one click away. Call me the lazy git if you want I love UNIX but when I can't see the data then I had no choice but to goto windows.

Thanks for your tip and I will try that and let you know how did I get on.

thanks again

Saqi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top