Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

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:


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 machine. The data sets you read, change, and save in that library will be in the c:\mysaswork\data directory.

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 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 Mac OS X machine. Choose Read & Write for each drive. Once you pick the drive, the top of the Explorer window will say, for example, Contents of '\\Client\C$'.

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;

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).

For help with IUanyWare, contact your campus Support Center, or search the IU Knowledge Base.

This is document bbqd in domain all.
Last modified on September 25, 2012.

I need help with a computing problem

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.



Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

I have a comment for the Knowledge Base

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.