Accessing SAS data sets with SAS on IUanyWare
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.
Note: Do not store files in IUanyWare; you can instead use the Cloud Storage service.
On this page:
Suppose you want to read a SAS data set named
grade.sas7bdat in the
directory. The following example shows how to retrieve a SAS data set:
The above code generates a SAS library called
is linked to the
c:\mysaswork\data directory on your
local machine. The data sets you read, change, and save in that
library will be in the
Note: If asked whether you want to permit a
connection to your local drives, select
read and write access.
Mac OS X
The settings for each Mac OS X machine vary, so try to find the path
to your SAS data set within the
Explorer window in
SAS. Click the
Computer icon in the
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 Mac OS X machine. Choose
Write for each drive. Once you pick the drive, the top of the
Explorer window will say, for example,
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;
Note: If you have an external drive attached to your
Mac OS X machine, select the
Drives menu in Citrix Viewer.
Also, you may need to change file access permissions from Preferences
in Citrix Viewer. Choose the
Devices tab, and check the
Mapped Drives window.
If you have questions about using statistical and mathematical software at Indiana University, email UITS Research Analytics (formerly known as the Stat/Math Center). Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200, and is open for consultation by appointment Monday-Friday 9am-5pm. For more, visit Research Analytics on the web, or call 812-855-4724 (IUB) or 317-278-4740 (IUPUI).
Last modified on September 25, 2012.