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.

678 JSL Syntax Reference Appendix A<br />

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

Async(0|1) A Boolean. If True (1), the submit occurs asynchronously (in the background). Use the<br />

Get Submit Status() message on the <strong>SAS</strong> Server Scriptable Object to determine the status of the<br />

submit. The default value is False (0).<br />

ConvertCustomFormats(0|1) A Boolean. When <strong>SAS</strong> data sets generated by submitted <strong>SAS</strong> code<br />

are imported into JMP after the submit completes (see Open Output Datasets), the value of<br />

ConvertCustomFormats determines whether an attempt is made to convert any custom formats<br />

found on columns in the <strong>SAS</strong> data to JMP value labels. The default value is True (1).<br />

DeclareMacros(var1, var2, ...) JSL variable names. Provides a simple way to pass the values<br />

of JSL variables to <strong>SAS</strong> as macro variables. Each JSL variable specified should evaluate to a string or<br />

numeric value. Fully qualified JSL variables names, only the variable name is sent to <strong>SAS</strong>. For<br />

example, namespace:variable_name becomes variable_name in <strong>SAS</strong>.<br />

Get<strong>SAS</strong>Log(, ) A Boolean. If no arguments are<br />

supplied, the <strong>SAS</strong> Log is retrieved and displayed in the location indicated in <strong>SAS</strong> Integration<br />

Preferences. The first argument to Get<strong>SAS</strong>Log can be either a Boolean value or the keyword OnError.<br />

If a Boolean value is supplied, true means display the <strong>SAS</strong> Log, and false means not to display it.<br />

OnError instructs JMP to only show the <strong>SAS</strong> Log if an error occurred in the submit. The second<br />

argument to Get<strong>SAS</strong>Log tells JMP where to display the <strong>SAS</strong> Log. If JMPLog is specified, the <strong>SAS</strong> Log<br />

is appended to the JMP Log. If Window is specified, the <strong>SAS</strong> Log is opened in a separate window.<br />

GraphicsDevice(string) or GDevice(string) A string that specifies a value for the<br />

GDEVICE <strong>SAS</strong> option to be used for graphics generated by the submitted <strong>SAS</strong> code. The value must<br />

be a valid <strong>SAS</strong> graphics device. The default value is determined in Preferences.<br />

NoOutputWindow A Boolean. If True, the <strong>SAS</strong> Output window containing the listing output from<br />

the submission does not appear. The default value is False.<br />

ODS(0|1) If true, additional <strong>SAS</strong> code is submitted causing ODS results to be generated for the<br />

submitted <strong>SAS</strong> code. The default value is determined in Preferences.<br />

ODSFormat(string) A quoted string that determines the format of generated ODS results. Valid<br />

values are “HTML”, “RTF”, and “PDF”. The default value is determined in Preferences.<br />

ODSGraphics(0|1) If true, ODS statistical graphics are generated for the submitted <strong>SAS</strong> code.<br />

Setting ODSGraphics to true causes ODS to also be set to true. The default value is determined in<br />

Preferences.<br />

ODSStyle(string) A quoted string that specifies the ODS Style to use when generating ODS<br />

results. String must be a valid <strong>SAS</strong> Style. The default value is determined in Preferences.<br />

ODSStyleSheet(path) A quoted string that specifies a local CSS style sheet to use when formatting<br />

generated ODS results. Path must be a path to a CSS file valid for the client machine (the machine<br />

running JMP). The default value is determined in Preferences.<br />

OnSubmitComplete(script) A quoted string that specifies a JSL script that should be run when<br />

the submit completes. This is especially useful for asynchronous submits. If script is the name of a<br />

defined JSL function, that function is executed, with the <strong>SAS</strong> Server scriptable object passed as the<br />

first parameter.<br />

OpenODSResults(0|1) If true, ODS results that are generated by the submitted <strong>SAS</strong> code (due to<br />

ODS being true) are automatically opened after the submit completes. The default value is True (1).<br />

OpenOutputDatasets() JMP detects when<br />

submitted <strong>SAS</strong> code creates new <strong>SAS</strong> data sets. OpenOutputDatasets (which can be abbreviated

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

Saved successfully!

Ooh no, something went wrong!