LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2006, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 30 Oct 2006 06:38:55 -0800
Reply-To:   chenghelen2000@YAHOO.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   chenghelen2000@YAHOO.COM
Organization:   http://groups.google.com
Subject:   Re: batch run and save logs
Comments:   To: sas-l@uga.edu
In-Reply-To:   <200610272115.k9RIia1n018746@mailgw.cc.uga.edu>
Content-Type:   text/plain; charset="iso-8859-1"

Sorry, I typed wrong. My batch file script is:

>"L:\Program Files\SAS Institute\SAS\V8\sas.exe" -sysin > >N:\programs\pgm1.sas.

Thanks,

Gerhard Hellriegel wrote: > ok, let's first get it to work before saving any logs... > What I don't understand is: you say, your SAS is located on L: . In your > bat-file you seem to call it on E: ?? Perhaps you should change that? > If it is still not working: have a look on the properties of your SAS icon > (right mouse-button on it) - is it really L: or something other? If you get > it by icon, you also will get it by bat-file. Simply use the same path! > Regards, > Gerhard > > > > On Fri, 27 Oct 2006 11:28:41 -0700, chenghelen2000@YAHOO.COM wrote: > > >Hello All, > >I have dozens of programs need to be ran, and also the logs need to be > >saved. I tried to use .bat file, but it did not work. > > > >Here is my case. > > > >Our SAS software is located at our SAS server. I'm an end user, and I > >have a SAS icon in my PC to connect the SAS (The only way to connect > >SAS is by clicking the icon to opening SAS). Our "sas.exe " is > >located at "L:\Program Files\SAS Institute\SAS\V8" (server), and my > >programs are located at "N:\programs\" (local). > > > >I made a test.bat file (located at N:\programs\) containing a script - > >"e:\Program Files\SAS Institute\SAS\V8\sas.exe" -sysin > >N:\programs\pgm1.sas. When I clicked it, it did not work. > > > >Our administrator told me that it will not work because the test.bat is > >located at local, and can not be connected to SAS. To get it work, the > >file is required to be located at SAS server. Any suggestion will be > >great help. > > > >Thanks,


Back to: Top of message | Previous page | Main SAS-L page