Date: Wed, 11 May 2005 14:27:52 -0400
Reply-To: "Fehd, Ronald J" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J" <rjf2@CDC.GOV>
Subject: Re: Can't change current folder in SAS 9.1.3
Content-Type: text/plain; charset="us-ascii"
Ah, yes, the Network Cowboys
the things you want to do can only be done in either of:
* invocation: command line
* configuration
therefore
* you will want a SASv9.cfg in -every- project folder
/*name: SASv9.cfg */
-set ProjectPath 'C:\temp\setupPC-SAS\projectC'
-SASinitialFolder '!ProjectPath\SASpgm'
-nosplash
now this could be simplified to the following:
/*name: SASv9.cfg */
-SASinitialFolder '.' /*here!*/
-nosplash
but wiser heads say that they will not answer TechSupport calls
where the config file cannot name where it resides
SASinitialFolder is the user-changeable half of the pair
which controls File-Open and Save-As
the murky default is SASuser
the default value of echoauto is noechoauto
so the source statements in autoexec are not written to the log
however any notes, notably libname allocation notes
will appear in the log.
If I have not answered your specific questions,
you will let me know, I'm sure
Ron Fehd the invocation
or configuration maven
CDC Atlanta GA USA RJF2 at cdc dot gov
> From: Michael Friendly
> We're setting up a computer lab for a summer programme in
> data analysis
> with the help of a sysadmin who insists that all our custom SAS
> configuration (contained in an autoexec.sas file) be invisible
> to other lab users. He doesn't know SAS.
>
> He set up a SAS icon on a network drive, H:\courses\spida\
> with the target
>
> \path\to\SAS9.1\sas.exe -autoexec H:\courses\spida\autoexec.sas
>
> and Start In: h:\courses\spida
>
> and arranged for a batch file to be run from a login script
> for our users that copies this icon to the desktop.
>
> In testing, we've discovered that SAS does not allow one to
> change the current folder (clicking on the disk icon in
> the bottom right corner of the SAS workspace window does
> nothing). As well, when one tries to assign a new SAS
> library through a dialog window, the Browse button does not
> work -- one has to type in the path manually.
> The same behaviour seems to occur with the 'standard'
> SAS installation they use for everyone else.
>
> Can anyone suggest what might be causing this behavior
> and/or how to fix it?
>
> thanks,
> -Michael
> --
> Michael Friendly Email: friendly@yorku.ca
> Professor, Psychology Dept.
> York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
> 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
> Toronto, ONT M3J 1P3 CANADA
>