14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A JSL Syntax Reference 673<br />

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

Returns<br />

List of two lists. The first list is a list of quoted strings of fileref names. The second is a corresponding list<br />

of quoted strings of physical names.<br />

<strong>SAS</strong> Get Lib Refs()<br />

Description<br />

Get a list of the currently defined <strong>SAS</strong> librefs on the current global <strong>SAS</strong> server connection.<br />

Returns<br />

List of strings.<br />

Named Arguments<br />

Friendly Names(0|1) Optional, Boolean. If True, then for any libraries that have friendly names<br />

(metadata-defined libraries), the friendly name is returned rather than the 8-character libref.<br />

<strong>SAS</strong> Get Log()<br />

Description<br />

Retrieve the <strong>SAS</strong> Log from the active global <strong>SAS</strong> server connection.<br />

Returns<br />

A string.<br />

<strong>SAS</strong> Get Output()<br />

Description<br />

Retrieve the listing output from the last submission of <strong>SAS</strong> code to the current global <strong>SAS</strong> server<br />

connection.<br />

Returns<br />

A string.<br />

<strong>SAS</strong> Get Results()<br />

Description<br />

Retrieve the results of the previous <strong>SAS</strong> Submit as a scriptable object, which allows significant flexibility<br />

in what to do with the results.<br />

Returns<br />

A <strong>SAS</strong> Results Scriptable object.<br />

<strong>SAS</strong> Get Var Names(string, , )<br />

Description<br />

Retrieves the variable names contained in the specified data set on the current global <strong>SAS</strong> server<br />

connection.<br />

Returns<br />

List of strings.<br />

Arguments<br />

string A quoted string that contains one of the following:

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

Saved successfully!

Ooh no, something went wrong!