Date: Tue, 3 Oct 2006 17:26:34 -0400
Reply-To: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@BLUEYONDER.CO.UK>
Subject: Re: Batch log outputs to SYSTEM32 dir...?
On Tue, 3 Oct 2006 12:18:38 -0400, ben.powell@CLA.CO.UK wrote:
>Dear List
>
>I've just migrated to a new install and ran a batch process to check for
>errors and the log was output to system32 in the windows directory. This
>is a clean install of XP and SAS 9.1
>
>Why would it do this? Doesn't a batch prog by default output the log to
>the location of the program being run?
>
>Any suggestions how I could amend the log output directory to the same
>location as the program starts in?
>
>Any suggestions much appreciated,
>
>Rgds.
Ben
that sounds like the standard microsoft behaviour for the sas ole
automation server.
Or you have something special in the config file that resets the
"current folder"
On my win-xp machine, I have this behaviour for the .sas filetype
batch submit with SAS 9.1
C:\PROGRA~1\SAS\SAS9~1.1\SAS.EXE "%1" -nologo -config C:\PROGRA~1
\SAS\SAS9~1.1\SASV9.CFG
USE DDE
ticked
application
SAS
Topic
System
I added another behaviour, which provides (imo) more flexibility
my Batch9.1
C:\PROGRA~1\SAS\SAS9~1.1\SAS.EXE "%1" -nologo -verbose
with no config file, and other settings the same as above.
Both behaviours put saslog into the same folder as the .sas program.
(the advantage of "my Batch9.1" is that it will use all
sasv9.cfg files it finds in: sasroot, my home folder,
and the folder of the .sas program - which takes the final effect)
I imagine your install must be different from mine !
Good Luck
Peter Crawford