14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 Creating and Opening Files 25<br />

Importing Data<br />

5 (Optional) Select any of the following for a SAS Transport (.xpt) file:<br />

• Select Member Lets you type the name of a specific member, or table, for JMP to open.<br />

• Open all members Opens all members, or tables, in the transport file.<br />

• Save all members Saves the file as a JMP file as soon as you open it. The file is saved to the<br />

same directory where the SAS transport file was opened.<br />

• Select Columns Tells JMP to open only certain columns from the transport file. When you<br />

click Open (Windows) or Finish (Linux), JMP provides a list of columns with checks next to<br />

the columns it intends to open. Add or remove checks to modify the list.<br />

6 Click Open (Windows and Macintosh) or Finish (Linux).<br />

Note: If you are importing date variables from a SAS file, JMP looks for a SAS date format and<br />

translates it to a JMP date column.<br />

Opening Password-Protected Data Sets<br />

On Windows, JMP can open SAS version 7 or higher data sets that are password protected.<br />

To open password-protected data sets:<br />

1 Select File > Open.<br />

2 Select SAS Data Sets from the Files of type drop-down menu.<br />

3 Click the box beside Dataset is Password Protected.<br />

4 Highlight the file you would like to open.<br />

5 Click Open.<br />

A window appears that asks you to type the password and choose the appropriate type of password<br />

(Read, Alter, or Write)<br />

2 Creating and Opening Files<br />

Creating SAS Transport Files in SAS<br />

JMP can open SAS transport files that were saved using the SAS XPORT engine. For example, below is<br />

sample SAS code that creates a transport file called test. (Note: misc and work are SAS libref names.)<br />

data test;<br />

input name $ age weight;<br />

cards;<br />

Lee 12 72<br />

Melanie 10 68<br />

Jonathan 11 77<br />

Diane 13 67<br />

;<br />

libname misc xport 'C:/test.xpt';<br />

proc copy in=work out=misc;<br />

run;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!