Date: Mon, 30 Oct 2006 06:41:29 -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
In-Reply-To: <A3w0h.16640$GR.8938@newssvr29.news.prodigy.net>
Content-Type: text/plain; charset="iso-8859-1"
Sorry, I typed wrong, the script is
"L:\Program Files\SAS Institute\SAS\V8\sas.exe" -sysin
> >N:\programs\pgm1.sas.
But it did not work.
Thanks,
kenneth_m_lin@sbcglobal.net wrote:
> You stated that SAS is installed on L: drive but in your batch file you
> pointed to E: drive.
>
> <chenghelen2000@yahoo.com> wrote in message
> news:1161973721.130908.216180@b28g2000cwb.googlegroups.com...
> > 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,
> >
|