The Script Window (left) and the Log Window (right)
Syntax Error Message
Open the log by selecting View > Log (Window > Log on Macintosh).
Tips: 
To omit compatibility warnings from the log, deselect Show log warnings for JSL compatibility changes in 12 in the JMP General preferences.