cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
tsandidge
Level III

Print JMP version and details in jsl

I came up with a simple manual way to get the current version (not including the revision, e.g. 12 vs 12.2.0) of JMP for my scripts which send emails:<br>

<pre><code>version = word(-1,Get Path Variable("HOME"),"/");</code><pre><br>

This obviously returns:<br>

<pre><code>12</code></pre><br>

I was curious to see if anyone knew of a built-in method to get this as well as at least the revision, but possibly more. I would like to get:<br>

<pre><code>12.2.0</code></pre><br>

and possibly any of the information kept with the license:<br>

<pre>JMP® Pro  12.2.0 (64-bit)<br>

User:  *******<br>

Administrator:  ******<br>

Organization:  *****<br>

Site ID:  ###### <br>

Expires:  11/30/2016 <br>

Number of Users Allowed:  #### <br>

Microsoft Windows 7 Enterprise  64-bit (6.1.7601.65536)<br>

Service Pack 1</pre>

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: Print JMP version and details in jsl

jmpversion()

"13.0.0"

"12.2.0"

"11.2.1"

"10.0.2"

" 9.0.1"

" 8.0.2"

" 7.0.2"

" 6.0.3"

the leading blank in JMP 6,7,8,9 is intentional.  JMP 5 does not have the function.

Also, from the scripting index:

11758_pastedImage_0.png

and...

JMP Product Name();

"Pro" (or "Standard")

and...

Build Information();

"Feb  9 2015, 06:42:57, Release, JMP Pro"

Build Information is mostly for our internal use and the format has changed over time.  You should use the JMP Product Name() if it does what you need.

Craige

View solution in original post

2 REPLIES 2
Craige_Hales
Super User

Re: Print JMP version and details in jsl

jmpversion()

"13.0.0"

"12.2.0"

"11.2.1"

"10.0.2"

" 9.0.1"

" 8.0.2"

" 7.0.2"

" 6.0.3"

the leading blank in JMP 6,7,8,9 is intentional.  JMP 5 does not have the function.

Also, from the scripting index:

11758_pastedImage_0.png

and...

JMP Product Name();

"Pro" (or "Standard")

and...

Build Information();

"Feb  9 2015, 06:42:57, Release, JMP Pro"

Build Information is mostly for our internal use and the format has changed over time.  You should use the JMP Product Name() if it does what you need.

Craige
tsandidge
Level III

Re: Print JMP version and details in jsl

Wow...a couple more ENTERs with my keyboard, and there it was in the Scripting Guide. I'm ashamed.

Thank you for enlightening me!