Architecting, installing and maintaining your SAS environment

Can't start SAS

Reply
New Contributor
Posts: 2

Can't start SAS

when i startup the SAS, the following error pops up.


WARNING: One or more libraries specified in the concatenated library SASHELP
WARNING: do not exist. These libraries were removed from the concatenation.
ERROR: Invalid physical name for library SASUSER.
NOTE: Unable to initialize the options subsystem.
ERROR: (SASXKINI): PHASE 3 KERNEL INITIALIZATION FAILED.
ERROR: Unable to initialize the SAS kernel.

 

if I modify .cfg file, change the path for SASUSER to "c:\temp", I can start SAS application, but i can‘t batch submit sas program. the log shows the %inlcude file under the same folder can't be found. it seems the SAS launch folder is not set to the current folder, it refers to another folder "C:\Users\user-id\appdata\local\temp".

 

how can i fix this problem? Thanks.

New Contributor
Posts: 2

Re: Can't start SAS

Posted in reply to jingjingliu

here is my setting in .cfg file:

 

-SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4"
-SASUSER "?FOLDERID_Documents\My SAS Files\9.4"

SAS Employee
Posts: 296

Re: Can't start SAS

Posted in reply to jingjingliu

Did everything worked previously ? If yes, then it seems like some data and /or disks were changed since SASHELP is not really something that changes, SASUSER too.... I would start there.

Super User
Posts: 9,925

Re: Can't start SAS

Posted in reply to jingjingliu

When parts of SASHELP are missing, then something scrambled your SAS installation.

If it worked before, it might be easiest to either restore from a backup or redo the SAS installation.

If this happens immediately after an apparently successful installation, get in touch with SAS technical support.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 3 replies
  • 266 views
  • 0 likes
  • 3 in conversation