14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - 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.

674 JSL Syntax Reference Appendix A<br />

<strong>SAS</strong> Integration Functions<br />

– The name of the <strong>SAS</strong> Library containing the <strong>SAS</strong> data set to be imported. In that case, the dataset<br />

name parameter is required.<br />

– The full member name of the <strong>SAS</strong> data set to be imported, in the form “libname.membername”.<br />

– The <strong>SAS</strong> Folders tree path to a logical <strong>SAS</strong> data table to be imported. This option requires a<br />

connection to a <strong>SAS</strong> 9.2 Metadata Server.<br />

dataset Optional: quoted string that contains the name of the data set from which to retrieve variable<br />

names.<br />

password("password") Optional, quoted string that contains the read password for the data set. If<br />

this is not provided and the data set has a read password, the user is prompted to enter it.<br />

<strong>SAS</strong> Import Data(string, , )<br />

Description<br />

Import a <strong>SAS</strong> data set from the active global <strong>SAS</strong> server connection into a JMP table.<br />

Returns<br />

JMP Data Table object.<br />

Arguments<br />

string A quoted string that contains one of the following:<br />

– The name of the <strong>SAS</strong> Library containing the <strong>SAS</strong> data set to be imported. In that case, the dataset<br />

name parameter is required.<br />

– The full member name of the <strong>SAS</strong> data set to be imported, in the form “libname.membername”.<br />

– The <strong>SAS</strong> Folders tree path to a logical <strong>SAS</strong> data table to be imported. This option requires a<br />

connection to a <strong>SAS</strong> 9.2 Metadata Server.<br />

dataset Optional: quoted string that contains the name of the data set.<br />

Named Arguments<br />

All named arguments are optional.<br />

Columns(list)|Columns(col1, col2, ...) A quoted string list or multiple strings that<br />

contain the names of columns to include in the import.<br />

ConvertCustomFormats(0|1) The default value is True (1). If True and custom formats are found<br />

in the <strong>SAS</strong> data set being imported, an attempt is made to convert the <strong>SAS</strong> custom formats to JMP<br />

value labels for those columns.<br />

Invisible(0|1) The default value is False (0). If true, the JMP data table is created as a hidden table.<br />

Hidden data tables that never become visible or linked to an analysis remain in memory until they are<br />

explicitly closed, reducing the amount of memory that is available to JMP. To explicitly close the<br />

hidden data table, call Close(dt), where dt is the data table reference returned by <strong>SAS</strong>ImportData.<br />

Where("filter") A quoted string that contains the filter to use when importing data, as in<br />

Where("salary

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

Saved successfully!

Ooh no, something went wrong!