14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

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.

392 SAS Integration Chapter 11<br />

Submitting SAS Code<br />

Figure 11.16 SAS Code Submission Example<br />

To run SAS code directly from JMP<br />

1 Either open an existing SAS program using File > Open, or create a new SAS program by selecting<br />

File > SAS > New SAS Program and typing in the SAS code.<br />

2 From the Edit menu, select Submit to SAS.<br />

You can also right-click in the Program Editor window and select Submit to SAS from the context<br />

menu. The Submit to SAS item on the context menu includes the name of the active SAS server that<br />

the SAS code will be submitted to.<br />

You can also press the F8 key (-shift-R on Macintosh).<br />

To run SAS code using a JSL script<br />

Write and run a JSL script that uses either the SAS Submit or SAS Submit File JSL functions. For<br />

more information about writing JSL scripts that submit SAS code, see the JMP Scripting <strong>Guide</strong>.<br />

To view the SAS Listing Output<br />

If the submitted SAS code generates SAS Listing (textual) output, that output is automatically be<br />

displayed in a SAS Output window when the job is completed. If you need to view the SAS Listing<br />

output again later in the JMP session, select File > SAS > Open SAS Output Window. The SAS<br />

Output Window retains the listing output from the previous 25 submits to the active SAS server.<br />

To view the SAS Log<br />

If the submitted SAS code contained errors, the SAS Log window for the active SAS server is<br />

automatically opened, displaying the SAS Log for the job. However, you can view the SAS Log for the<br />

most recent 25 submits to the active server at any time by selecting File > SAS > Open SAS Log<br />

Window.<br />

If you prefer that SAS Log information is appended to the JMP log after a submit completes:<br />

1 Select File > Preferences (Windows/Linux) or JMP > Preferences (Macintosh).<br />

2 Open the SAS Integration category.<br />

3 In the Show SAS Log section, select JMP Log rather than Separate Window.<br />

Also in the Show SAS Log section, you can set whether the SAS Log should be displayed Always,<br />

Never, or On Error (the default).

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

Saved successfully!

Ooh no, something went wrong!