Import a CSV file from IU Box using SAS on IUanyWare

Before you can access your Indiana University Box account from an IUanyWare application, you must authorize access in the IU Cloud Storage portal. For instructions, see Configure your storage preferences.

In SAS on IUanyWare, you can use the Import Wizard to import a comma-delimited (.csv) file from your IU Box account:

  1. In the menu bar, click File, and then select Import Data.
  2. In the "Import Wizard" dialog box, select Standard data source, use the drop-down list to select Comma Separated Values (*.csv), and then click Next.
  3. In the "Select File" window, click Browse, and then:
    1. In the "Open" window, on the left, click This PC.
    2. Double-click the Box icon.
    3. Navigate through your Box folders to locate your file, and then click to select it.
    4. Click Open.
  4. Click Next, and then, under "Library", use the drop-down list to choose the libref corresponding to the library in which you want to store the CSV data.
    To be available in the drop-down list, the appropriate libref must be associated with the library before you open the Import Wizard.
  5. Under "Member", enter a valid data set name, and then click Finish. The data from the CSV file should appear in the library you selected.

    Alternatively, click Next to generate and save a file containing a PROC IMPORT statement you can use to import the data again from the same source. Enter a filename or click Browse to select an existing file, and then click Finish. The resulting PROC IMPORT statement will look similar to this:

                  DATAFILE= "I:\mydata\data.csv" 
                  DBMS=CSV REPLACE;

If you have questions about using statistical and mathematical software at Indiana University, contact the UITS Research Applications and Deep Learning team.

This is document bdwf in the Knowledge Base.
Last modified on 2019-01-25 16:40:48.

Contact us

For help or to comment, email the UITS Support Center.