Access SAS data sets with SAS on IUanyWare
On this page:
Overview
Opening, using, and saving data sets in SAS on IUanyWare is done through defining a library, just as you would do with a desktop or laptop installation. However, since IUanyWare is a virtual service, you need to be able to tell SAS how to find the files on your local (client) disk drive.
Windows
Suppose you want to read a SAS data set named grade.sas7bdat
in the c:\mysaswork\data
directory. The following example shows how to retrieve a SAS data set:
LIBNAME stat '\\Client\C$\mysaswork\data';
DATA stat.new_grade;
SET stat.grade;
...
RUN;
The above code generates a SAS library called stat
which is linked to the c:\mysaswork\data
directory on your local system. The data sets you read, change, and save in that library will be in the c:\mysaswork\data
directory.
If asked whether you want to permit a connection to your local drives, select
access.macOS
The settings for each Mac computer vary, so try to find the path to your SAS data set within the "Explorer" window in SAS. Click the
icon in the "Explorer" window to find the drive you are looking for.While you find the path, the Citrix Viewer asks you for permissions to access the drives on your computer. Choose Contents of 'This PC'
.
Suppose your SAS data set named grade.sas7bdat
is located at /Users/myusername/Documents/
. The following example shows how to retrieve the SAS data set:
LIBNAME stat '\\Client\C$\Documents';
DATA stat.new_grade;
SET stat.grade;
...
RUN;
Get help
If you have questions about using statistical and mathematical software at Indiana University, contact the UITS Research Applications and Deep Learning team.
For help with IUanyWare, contact your campus Support Center, or search this Knowledge Base.
This is document bbqd in the Knowledge Base.
Last modified on 2023-10-05 16:10:12.