14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

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.

78 Import Your Data Chapter 3<br />

Import Data from <strong>SAS</strong><br />

To import using a WHERE clause:<br />

1. Click Where.<br />

2. Use the WHERE clause editor to construct your WHERE clause.<br />

3. Click OK to return to the Browse <strong>SAS</strong> Data window.<br />

4. Click Import.<br />

Only the data that matches your WHERE clause are imported into a <strong>JMP</strong> data table.<br />

For information about constructing WHERE clauses and using the WHERE clause editor, see “Use the<br />

WHERE Clause Editor” on page 96.<br />

Note: If you import data using both a WHERE clause and sampling, the WHERE clause is applied first,<br />

and then a sample of the filtered data is taken.<br />

You can also write your own SQL statements.<br />

To import using a custom SQL statement:<br />

You can also open a <strong>SAS</strong> data set using a custom SQL statement.<br />

1. Open the Custom SQL outline under the Import Options outline. See Figure 3.18.<br />

Figure 3.20 Custom SQL<br />

2. Enter your SQL statement in the window.<br />

3. Click Execute Custom SQL.<br />

Note: Your SQL is run on the selected server but is not restricted to any selected library or data set.<br />

Importing a Random Sample of the Data<br />

You can also import a random sample of the rows of the <strong>SAS</strong> data set.

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

Saved successfully!

Ooh no, something went wrong!