Configuring the SAS Extension
Before running SAS code, you must configure the SAS extension to access a SAS 9.4 (remote or local) server or a SAS Viya server. You must license SAS 9.4 or SAS Viya to run SAS code.
To configure the SAS extension:
-
Open a SAS program file.
-
Click "No Profile" in the status bar on the bottom left of your VS Code window.
You can also open the command palette (
F1
, orCtrl+Shift+P
on Windows or Linux, orShift+CMD+P
on OSX) and locateSAS: Add New Connection Profile
command. -
Follow the instructions in the Add New Connection Profile section to add a profile.
-
After you have created a profile, the Status Bar Item changes from "No Profile" to the name of the new profile.