SAS Display Manager intermittently fails to save programs to a network share


SAS Display Manager might fail intermittently when you save SAS programs to a network drive or shared network location. This issue can occur when you use the Save option. 

As a result, the following error message might occur:

ERROR: Save FAILED.

Typical symptoms of this issue include the following:

Note: Saving to a local drive or desktop location succeeds.

This issue can be related to the Safe save functionality that the SAS Enhanced Editor uses when saving files to certain network locations.

Workaround

Method 1: Disable "Safe save" from SAS Display Manager

  1. Open SAS Display Manager.
  2. Navigate to Tools ► Options ► Preferences.
  3. Click the Edit tab.
  4. Clear the Safe save (Enhanced Editor only) check box.
  5. Click OK.
  6. Test saving programs to the network location again

Method 2: Disable "Safe save" by Updating the SAS Configuration File

  1. Before making changes, close all SAS sessions and create a backup of the SAS configuration file. Here is an example location:
    C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg

  2. Create a backup copy. Here is an example:
    sasv9.bak

  3. Edit the original sasv9.cfg file and add the following line near the beginning of the file:

    -SET SAS_NO_SAFE_SAVE=1

  4. Save the file and restart SAS.

  5. After SAS restarts, test saving programs to the network location again.

Additional Information

If the problem persists after disabling Safe save, investigate potential environmental factors, including the following:

Testing file saves from applications such as Microsoft Notepad directly to the same network location can help determine whether the issue is specific to SAS or affects the network location generally.