Batch run sas program on SAS 9.2 server (OS is win 64 server) with PC file server installed

Reply
New Contributor
Posts: 3

Batch run sas program on SAS 9.2 server (OS is win 64 server) with PC file server installed

Hello,

I encounter a problem when batch run SAS program on SAS 9.2 server (OS is win 64 server) with PC file server installed:

The SAS program code is like the following:

libname inxls pcfiles path="d:\test\test.xlsx" access=readonly;

libname inxls clear;

The program can be run normally in interactive mode or right click the program and choose “batch submitted with SAS 9.2”.

But when I use .bat to run the program, I got the error window appear

untitled.bmp

echo %path%

: set the path of autoexec.sas

set root=d:\test\

set path=d:\test\

:set params=/nosplash /batch /icon /autoexec "%root%autoexec.sas" /log "%path%" /print "%path%" /SYSPARM %path%

set start=start /w  C:\"Program Files"\SAS\SASFoundation\9.2\sas.exe %params% /sysin

%start% "%path%test.sas"

Does someone know what the reason is? Thanks in advance!

Super User
Posts: 5,256

Re: Batch run sas program on SAS 9.2 server (OS is win 64 server) with PC file server installed

I suggest that you open a track to SAS tech support.

Data never sleeps
Ask a Question
Discussion stats
  • 1 reply
  • 193 views
  • 0 likes
  • 2 in conversation