Date: Tue, 29 Oct 2002 16:54:24 -0500
Reply-To: Michael L Friendly <friendly@YORKU.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael L Friendly <friendly@YORKU.CA>
Organization: York University
Subject: Re: Linux: prepending macro directory to SASAUTOS-- solved
Content-Type: text/plain; charset=us-ascii; format=flowed
It appears that under unix/linux, SAS does not recognize the LIBNAME
SASAUTOS in an OPTIONS statement.
This does work, using !SASROOT notation, in my autoexec.sas:
options sasautos = ('~friendly/sasuser/macros' '!SASROOT/sasautos');
Thanks to Ron Fehd for several helpful suggestions (which didn't quite
work, but which did put me on the right track)
I'm still not clear on why my other attempts (setting SASV8_OPTIONS
and modifying $HOME/sasv8.cfg) failed; but hey-- it works now for me.
Michael L Friendly wrote:
> I have an new linux system which I'm just setting up. I've tried
> various ways to insert my macro directory in the SASAUTOS list, but none
> seem to work:
> 1. As I do on windows, I used in my autoexec.sas:
> *-- Prepend macro directory to SASAUTOS;
> options sasautos = ("~/sasuser/macros", SASAUTOS);
> 2. I also set the SASV8_OPTIONS environment variable in my .cshrc file:
> setenv SASV8_OPTIONS "-nonews -insert sasautos '~/sasuser/macros'"
> In each case I get:
> WARNING: No logical assign for filename SASAUTOS.
> WARNING: Source level autocall is not found or cannot be opened.
> Autocall has
> been suspended and OPTION NOMAUTOSOURCE has been set. To use the
> autocall facility again, set OPTION MAUTOSOURCE.
> WARNING: Apparent invocation of macro GIF not resolved.
> 27 ;
> 28 %gif(mileyears);
> I even took a copy of sasv8.cfg and changed this line to include my own
> macro directory.
> -sasautos ('!SASROOT/sasautos' "~/sasuser/macros")
> Can anyone help?