Date: Wed, 10 Oct 2001 15:52:25 -0700
Reply-To: "William W. Viergever" <wwvierg@ATTGLOBAL.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "William W. Viergever" <wwvierg@ATTGLOBAL.NET>
Subject: Re: Problems using command line -work("library-specification") op
tion
In-Reply-To: <21F107272BF3D411BACF0001022893BC12F6E3@mail.wsipp.wa.gov>
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 02:53 PM 10/10/2001 -0700, Miller, John wrote:
>Yes, I did try without the parentheses and unfortunately I received the same
>error.
>
>I have also tried moving the -work("T:\") option behind the SAS program name
>without success.
>
>And, on a suggestion from Laurel Copeland, I tried replacing "T:\" with
>"\\Fred\WSIPP Common\Temp (Delete Every Friday)" (the actual network name)
>which generated errors for invalid options "Common\Temp" "(Delete Every
>Friday)" and work("\\Fred\WSIPP . I was careful to place double quotes
>around the full subdirectory name.
John:
take a deep breath ...... ahhhhhhhhhhhhhhhhhhhhhhhhhhh
1) do kill the parens
2)"D:\SAS Institute\SAS\V8\sas.exe" jf100801.sas -work "J:\" ... works for
me .... whereas ...
"D:\SAS Institute\SAS\V8\sas.exe" jf100801.sas -work("J:\") ... does NOT
3) *If* the porgram name is NOT the 1st option on the command line, then
preface it w/ the -SYSIN option, e.g.,
"D:\SAS Institute\SAS\V8\sas.exe" -work "J:\" -SYSIN jf100801.sas ...
works ... whereas
"D:\SAS Institute\SAS\V8\sas.exe" -work "J:\" jf100801.sas ... does NOT
HTH
>Thanks for trying.
>
>
>-----Original Message-----
>From: William W. Viergever [mailto:wwvierg@attglobal.net]
>Sent: Wednesday, October 10, 2001 2:06 PM
>To: Miller, John; SAS-L@LISTSERV.UGA.EDU
>Subject: Re: Problems using command line -work("library-specification")
>option
>
>At 01:32 PM 10/10/2001 -0700, Miller, John wrote:
> >I am hoping that some among you have experience with this issue:
> >
> >The following demonstrates my problem.
> >
> >I can submit a program from the command line and it runs fine:
> >
> > >"C:\Program Files\SAS Institute\SAS\V8\SAS.EXE" MyProg.sas
> >
> >When I attempt to change the WORK directory to a network drive (which has
> >sufficient space to accommodate the real process I need to run) ...
> >
> > >"C:\Program Files\SAS Institute\SAS\V8\SAS.EXE" -work("T:\") MyProg.sas
>
>
>have you tried leaving off the parentheses?
>
>
> >... I get the SAS Error:
> > ERROR: Unrecognized SAS option name, WORK("T:\").
> >
> >And after clicking okay to that I see:
> > (SASXKRIN): KERNAL RESOURCE INITIALIZATION FAILED.
> >
> >Followed by one last dialog box:
> > UNABLE TO INITIALIZE THE SAS KERNAL
> >
> >
> >Additional info:
> >
> >I am running SAS 8.0 on Win2000 (problem replicated on one of our NT
> >workstations).
> >
> >Thanks in advance for you help.
>
>------------------------------------------------------------
>William W. Viergever Voice : (916) 483-8398
>Viergever & Associates Fax : (916) 486-1488
>Sacramento, CA 95825 E-mail : wwvierg@attglobal.net
>------------------------------------------------------------
------------------------------------------------------------
William W. Viergever Voice : (916) 483-8398
Viergever & Associates Fax : (916) 486-1488
Sacramento, CA 95825 E-mail : wwvierg@attglobal.net
------------------------------------------------------------
|