Date: Thu, 9 Jan 2003 08:57:52 -0500
Reply-To: Mike Rhoads <RHOADSM1@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Rhoads <RHOADSM1@WESTAT.COM>
Subject: Re: tip filename SASAUTOS
Content-Type: text/plain; charset="iso-8859-1"
Ron Fehd posted, in part,
much to my chagrin I find that
FileRef eq 'SASAUTOS'
isn't available until after the autoexec completes.
<end quote>
This seemed odd to me so I put a little code in my autoexec to check the
contents of dictionary.extfiles, and sure enough SASAUTOS does not appear.
It seemed even odder that the end of the AUTOEXEC would suddenly make it
appear, so I ran my code fragment again, as a program. Still no SASAUTOS
fileref.
I'm not at all sure SASAUTOS ever exists in FILEREF form, unless you create
it yourself. For many years, we here at Westat have had code in our default
autoexec (developed by Ian, naturally) that sets up your autocall library as
a concatenation of an (optional) project library, corporate library, and the
SAS-supplied libraries, which I assume is roughly what you are interested in
doing. The two key statements Ian's code uses are:
filename __stdmac %sysget(SASAUTOS);
options sasautos = (
"!ACCTMACS" /* Project library, if any */
"f:\sasmacro" /* Westat corporate library */
__stdmac /* SAS Institute supplied macro libraries */
);
If this is what you're trying to do, give this approach a try and see if it
helps.
Mike Rhoads
Westat
RhoadsM1@Westat.com