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.

Appendix A JSL Syntax Reference 671<br />

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

<strong>SAS</strong> Export Data(dt, "library", "dataset", )<br />

Description<br />

Exports a JMP data table to a <strong>SAS</strong> data set in a library on the active global <strong>SAS</strong> server connection.<br />

Returns<br />

1 if the data table was exported successfully; 0 otherwise.<br />

Arguments<br />

dt data table or a reference to a data table.<br />

"library" the library to which to export the data table.<br />

"dataset" the name of the new <strong>SAS</strong> data set.<br />

Named Arguments<br />

All the named arguments are optional.<br />

Columns(list)|Columns(col1, col2, ...) A list of columns or a comma-separated list of<br />

columns.<br />

Password("password") A string that contains the password to serve as the READ, WRITE, and<br />

ALTER password for the exported <strong>SAS</strong> data set. If the exported data set is replacing an existing data<br />

set with an ALTER password, this password is used as the ALTER password for overwriting the data<br />

set. If Password is specified, values for ReadPassword, WritePassword, and AlterPassword<br />

are ignored.<br />

ReadPassword("password") A string that contains the password to serve as the READ password<br />

for the exported <strong>SAS</strong> data set.<br />

WritePassword("password") A string that contains the password to serve as the WRITE password<br />

for the exported <strong>SAS</strong> data set.<br />

AlterPassword("password") A string that contains the password to serve as the ALTER password<br />

for the exported <strong>SAS</strong> data set. If the exported data set is replacing an existing data set with an ALTER<br />

password, this password is used as the ALTER password for overwriting the data set.<br />

Preserve<strong>SAS</strong>ColumnNames(0|1) A Boolean. If true and the JMP data table originally came from<br />

<strong>SAS</strong>, the original <strong>SAS</strong> column names are used in the exported <strong>SAS</strong> data set. The default value is<br />

False.<br />

Preserve<strong>SAS</strong>Formats(0|1) A Boolean. If true and the JMP data table originally came from <strong>SAS</strong>,<br />

the original <strong>SAS</strong> formats and informats are applied to the columns in the exported <strong>SAS</strong> data set. The<br />

default value is True.<br />

ReplaceExisting(0|1) A Boolean. If true, an existing <strong>SAS</strong> data set with the specified name in the<br />

specified library is replaced by the exported <strong>SAS</strong> data set. If false, a data set with the specified name<br />

already exists in the specified library; the export is stopped. The default value is false.<br />

HonorExcludedRows(0|1) A Boolean. If true, any rows in the JMP data table that are marked as<br />

excluded are not exported. The default value is false.<br />

Note<br />

Information about the export is sent to the log.

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

Saved successfully!

Ooh no, something went wrong!