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 667<br />

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

Profile("profile_name") A quoted string that contains the name of the metadata server<br />

connection profile from which connection information should be retrieved.<br />

Password("password") A quoted string that contains the password for the specified profile name.<br />

CheckPreferenceOnly(0|1) If specified, Meta Connect returns the status of the I want to<br />

connect to a <strong>SAS</strong> Metadata Server option in the <strong>SAS</strong> Integration page of JMP Preferences. If that<br />

box is checked, Meta Connect returns 1; if not, 0.<br />

Repository("string") Takes a quoted string that contains the name of the repository to which to<br />

connect.<br />

ProfileLookup(0|1) If machine and port are specified rather than a profile name, and<br />

ProfileLookup is specified, an attempt is made to find a metadata server connection profile with a<br />

machine name and port matching those provided. If one is found, other connection information<br />

(such as authentication domain, user name, and password) is obtained from that profile.<br />

Prompt(Always|Never|IfNeeded) Takes one of the keywords Always (always prompt before<br />

attempting to connect), Never (never prompt, just fail), or IfNeeded (the default; prompt if<br />

connection with the given parameters fails).<br />

Notes<br />

If no arguments are included and if no profile is saved, the Connect to <strong>SAS</strong> Metadata Server window<br />

appears.<br />

Meta Create Profile(profile, )<br />

Description<br />

Creates a metadata server connection profile and adds it to the current user’s set of saved metadata server<br />

connection profiles.<br />

Returns<br />

1 if profile was successfully created, otherwise 0.<br />

Arguments<br />

profile A quoted string that contains the name of the created profile. If a profile by the given name<br />

already exists, MetaCreateProfile fails unless Replace is specified.<br />

Named Arguments<br />

The following named arguments are all optional.<br />

HostName(name) A quoted string that contains the name of the host computer running the <strong>SAS</strong><br />

Metadata Server that this profile will connect to.<br />

Port(n) The port number (n) that the <strong>SAS</strong> Metadata Server is listening for connections on.<br />

AuthenticationDomain("domain") | AuthDomain("domain") A quoted string that sets the<br />

authentication domain to use for the connection.<br />

Description("desc") | Desc("desc") A quoted string that sets a description for this profile.<br />

Password("password") A quoted string that contains the password to store in this profile.<br />

Replace(0|1) If name matches a profile that already exists, Replace must be specified for the<br />

existing profile to be replaced by the one provided. The default value is False (0).

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

Saved successfully!

Ooh no, something went wrong!