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.

Chapter 2 Introduction 31<br />

What JSL Can Do for You<br />

What JSL Can Do for You<br />

JMP can automatically save scripts to reproduce any data table or analysis in its current state. You can pause<br />

any time in your analysis to save a script to a script window (or script editor), in a data table, or in an analysis<br />

report. You can then modify the script as needed for future projects. When you are finished with your work,<br />

you can then save a script to reproduce your final results.<br />

Here are some examples where JSL scripts can be helpful:<br />

• Suppose you need to describe an analysis process in detail, from beginning to end. An example is to<br />

create an audit trail for a governing agency, or for peers reviewing your journal article.<br />

• Suppose you have a set of analysis steps that should be followed routinely by your lab technicians.<br />

• Suppose you fit the same model to new data every day, and the steps are always the same.<br />

You can use JMP interactively as usual, save scripts to reproduce your work, and in the future run those<br />

scripts to reproduce your results.<br />

There are a few things that JSL is not designed to do:<br />

• JMP cannot record scripts while you are working. Though script-recording is a useful feature in some<br />

other scripting languages, it is less important for software like JMP, where the results are what matter.<br />

You cannot use script-recording to observe how a sequence of interactive steps is performed.<br />

• JSL is not an alternative command-line interface for using the program.<br />

Help with Learning JSL<br />

There are several places within JMP to get help with writing or understanding a JSL script.<br />

The <strong>Scripting</strong> <strong>Guide</strong><br />

The <strong>Scripting</strong> <strong>Guide</strong> book begins with basic information (such as terminology and syntax) for JMP users<br />

who are not familiar with the scripting language. The book progresses to more advanced information.<br />

Chapters 2 through 4<br />

Chapters 5 through 8<br />

Chapters 9 through 13<br />

Chapter 14<br />

Includes information about learning JSL, producing basic<br />

scripts, and introduces you to the JSL scripting environment.<br />

Introduces the building blocks of the language; working with<br />

basic data types, such as numbers and strings; writings lists,<br />

matrices, and associate arrays; namespaces; and the<br />

fundamentals of programming in JSL.<br />

Covers using JSL with objects in JMP, such as data tables,<br />

platforms, windows, and graphics.<br />

Describes how to write scripts that work with external<br />

programs, such as <strong>SAS</strong>, R, and Excel.

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

Saved successfully!

Ooh no, something went wrong!