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.

666 JSL Syntax Reference Appendix A<br />

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

Shade State(num)<br />

Description<br />

The Shade State function assigns 5 shade levels to a color or hue.<br />

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

Current Metadata Connection()<br />

Description<br />

Returns the active <strong>SAS</strong> metadata connection, if any, as a scriptable object.<br />

Current <strong>SAS</strong> Connection()<br />

Description<br />

Gets the active global <strong>SAS</strong> server connection, if any, as a scriptable object.<br />

Get <strong>SAS</strong> Version Preference()<br />

Description<br />

Returns the <strong>SAS</strong> version selected in Preferences as a string.<br />

Meta Connect(, , , , )<br />

Meta Connect(, , )<br />

Description<br />

Connects to a <strong>SAS</strong> Metadata Server. If no arguments are specified, an empty connection window<br />

appears. If some arguments are specified, a window partially filled in with the argument values appears. If<br />

all arguments are specified, the connection is made and no window appears.<br />

Returns<br />

1 if connection is successful, 0 if not.<br />

Arguments<br />

machine Optional: quoted string that contains the DNS name of the machine.<br />

port Required if machine is specified. Quoted string or integer that contains the port on which the<br />

metadata server listens.<br />

authDomain Optional: quoted string that contains the authentication domain for the credentials<br />

supplied. Not necessary unless username and password are included.<br />

username Optional: quoted string that contains the user name for the connection.<br />

password Optional: quoted string that contains the password for the connection.<br />

Named Arguments<br />

All named arguments are optional.

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

Saved successfully!

Ooh no, something went wrong!