SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 68944: SAS® software fails to start with "ERROR: Unable to initialize the SAS kernel" if an autoexec.sas file resides in a directory with a space in its name

DetailsHotfixAboutRate It

SAS fails to start if an autoexec.sas file resides in a directory that contains a space in its name and you do not specify an AUTOEXEC system option.

For example, if your home directory is /home/john smith/ and it contains an autoexec.sas file, then running SAS without any AUTOEXEC system option causes SAS to fail with the following errors:

ERROR: Unrecognized SAS option name john/AUTOEXEC.SAS.
ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.
ERROR: Unable to initialize the SAS kernel.

A workaround is to specify the AUTOEXEC system option. For the above example, you would specify: sas -autoexec “/home/john smith/autoexec.sas”

If you do not specify an AUTOEXEC system option, SAS checks the following directories for an autoexec.sas file:

  • your current directory
  • your home directory
  • the !SASROOT directory

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASHP-UX IPF9.4_M79.4 TS1M7
64-bit Enabled Solaris9.4_M79.4 TS1M7
64-bit Enabled AIX9.4_M79.4 TS1M7
Linux for x649.4_M79.4 TS1M7
Solaris for x649.4_M79.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.