Does this error occur while the SAS code is running or is it preventing the SAS session from starting at all? SAS is provided a WORK option on startup specifying a parent location (e.g. /tmp). SAS will create a WORK library within that path specifically for it's process (e.g. /tmp/SAS_workFFFFFFFFFFF_hostname) If the parent path specified by the WORK option is not accessible, SAS will fail to start with an error: $ ./sas -nodms -work /tmp2 ERROR: Library WORK does not exist. NOTE: Unable to initialize the options subsystem. ERROR: (SASXKINI): PHASE 3 KERNEL INITIALIZATION FAILED. ERROR: Unable to initialize the SAS kernel. If SAS is running and some process deletes the WORK directory it created, you'll see this error in your code execution: ? data test; x=1; run; ERROR: Library WORK does not exist. NOTE: The SAS System stopped processing this step because of errors. So, if you have some process set up to clean your WORK path periodically, it could be deleting your WORK directory from under you, causing this error.
... View more