A SAS® Studio background submission status stays in a Running status


In SAS® Viya® 3.5, a SAS® Studio background submission shows a Running status after the code successfully completes when SAS Studio attempts to write the background submission log to SAS Content. Although the job finishes successfully, the status in the Submission Status window does not update until you sign out and sign back in. Even after the status refreshes to Completed, the log is not available in SAS Studio.

In contrast, SAS Environment Manager correctly shows the job as Successful without requiring a sign-out, and you can download the log from SAS Environment Manager.

The background submission attempts to create the log file when the following conditions are met:

Workaround

To work around this issue, complete the following steps:

  1. In SAS Content, navigate to Options ► Preferences ► Background Submit.
  2. Set the Location of Log and Output files preference to Specify names and location. 
  3. Specify a location on the file system. 

Under this configuration, the background submission status updates correctly to Completed.