Stronghold
HomeServicesDocumentationBlog
  • Highly Secure Computing (Stronghold)
  • Data Management
    • SFTP Data Transfers
      • Data Imports
      • Data Exports
    • HTTPS Direct Downloads
      • FastX 3
      • FastX 2
    • Data Storage
    • Globus Transfers
      • Windows Tenants
      • Adding New Users
  • Usage
    • New Tenant Onboarding
    • Windows Environments
      • Access from Mac
      • Access from Windows
      • RDP Gateway from Mac
      • RDP Gateway from Windows
    • Linux Environments
      • FastX 3
      • FastX 2
  • Software
    • Windows Standard Software
    • Linux Standard Software
      • Julia
    • Package Archive Mirrors
      • BioConductor Mirror
      • CRAN Mirror
      • PyPI Mirror
    • Install R/Python Packages from Local File
    • Jupyter Lab on Linux Workstations
    • Changing the temporary folder for softwares
      • SAS
      • STATA
      • RStudio
    • Changing Default Package install locations on Windows
      • Python (Pypi packages)
      • R (CRAN Packages)
      • Stata packages
  • Git
    • Git Sync
    • GitLab
  • Access & Security Groups
    • User Groups
    • Lifespan Staff Access
  • Multi-Protocol Access
    • Access Same Data from Windows and Linux Workstations
Powered by GitBook
On this page
  • 1. Create SASv9.cfg file
  • 2. Identify a folder outside C:\
  • 3. Modify SASv9.cfg file
  • 4. Modify SAS shortcut

Was this helpful?

  1. Software
  2. Changing the temporary folder for softwares

SAS

SAS saves all temporary files in the C:/ in Windows workstations. Since storage quota are limited on the C:/, you should follow these steps to change the temporary directory

1. Create SASv9.cfg file

  1. Open Windows File Browser on the Stronghold Windows machine.

  2. Go to C:\Program Files\SASHome\SASFoundation\9.4

  3. Copy sasv9.cfg . The file might be named "sasv9"

  4. Go to Documents-> My SAS Files -> 9.4

  5. Paste the file

If you cannot find the "My SAS Files" folder, open SAS and close it. This folder is created when you open SAS for the first time on a computer.

2. Identify a folder outside C:\

Find a folder where you are allowed to create and modify files. This is going to be the new SAS temporary folder. In this tutorial, let's assume that the directory is "E:\SASTemp\ccvdemo2"

3. Modify SASv9.cfg file

1. Open the new sasv9.cfg in Notepad. You can right-click this file -> Open With .. -> Notepad

2. On the second line, add the line below and save the file

-WORK "E:\SASTemp\ccvdemo2"

Your Temporary folder might be different than the one mentioned here. Use the correct folder.

4. Modify SAS shortcut

  1. On the Desktop, right click the SAS Icon -> Create Shortcut

  2. Rename the new SAS icon to distinguish it from the earlier version.

  3. Right-click this new icon and open Properties

  4. You will see a textbox in the Properties window that labeled "Target". We will have to modify the Target.

The original text in this box says:

"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"

Change it to the following text:

"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Users\ccvdemo2\Documents\My SAS Files\9.4\sasv9.cfg"

  1. Note that we have just changed the text in bold. This example shows the text for a user named "ccvdemo2" . Replace that with your Brown Username.

  1. Click Apply.

  2. Use this new shortcut whenever you need to launch SAS.

PreviousChanging the temporary folder for softwaresNextSTATA

Last updated 1 year ago

Was this helpful?