SAS University Edition: Help Center

How do I reference SAS data from within a SAS program?

Examples of Shared folders in SAS Studio
You can access SAS content from within a SAS program by using your myfolders folder or by using folder shortcuts. Remember that directory paths and filenames are case sensitive. You must also always use "/" in the directory path and enclose any directory paths that contain a macro variable in double quotation marks.

In SAS Studio, you can view your data and results from the navigation pane, as shown in this screenshot.

To access this SAS content from within a SAS program, use these guidelines:

Note In SAS Studio, some code snippets might use a hardcoded path for file references. Before saving your work, verify that the directory path is correct for your program.