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.

714 JSL Syntax Reference Appendix A<br />

Utility Functions<br />

Arguments<br />

A A matrix of constraint coefficients.<br />

b A matrix that is a column of right hand side values of the constraints.<br />

c A vector of cost coefficients of the objective function.<br />

L, U Matrices of lower and upper bounds for the variables.<br />

neq The number of equality constraints.<br />

nle The number of less than or equal inequalities.<br />

nge The number of greater than or equal inequalities.<br />

slackVars(Boolean) Optional. Determines whether the slack variables are returned in addition to<br />

the decision variables. The default value is 0.<br />

Note<br />

The constraints must be listed as equalities first, less than or equal inequalities next, and greater than or<br />

equal inequalities last.<br />

Mail("host.id", "subject", "message", "attachment")<br />

Description<br />

(Windows only) Sends e-mail (using MAPI) to the host.id with the specified subject and message<br />

texts. Sends one or more attachments specified by the optional attachment parameter. The attachment<br />

argument can evaluate to a string or list of strings.<br />

Examples<br />

To send an email with multiple attachments:<br />

Mail(<br />

"yourname@company.com",<br />

"New data and script",<br />

"Today’s updated data table and script are attached.",<br />

{"$DOCUMENTS/wd.jsl", "$DOCUMENTS/survey.jmp"}<br />

);<br />

or:<br />

list = {"$DOCUMENTS/wd.jsl", "$DOCUMENTS/survey.jmp"};<br />

Mail(<br />

"yourname@company.com",<br />

"New data and script",<br />

"Today’s updated data table and script are attached.",<br />

list<br />

);<br />

Main Menu(string, )<br />

Description<br />

Execute the command found on JMP’s menu named by the quoted string. The optional second<br />

quoted string specifies the name of the window to send the command to.

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

Saved successfully!

Ooh no, something went wrong!