|
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,
|