cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar

How to run JMP script from DOS command line

Hi,
I'm fairly new to the tool. I wrote a JMP script that will create new data table and plot graphs. Instead of running it by opening the JMP GUI, I would like to design a C# app and let the user click the button and then it will somehow call JMP to execute the script. At the end I want the graphs to be saved as MS word and this will be the output the user will see.

Is there a way to do that?

Thanks in advance.
1 ACCEPTED SOLUTION

Accepted Solutions
Duane_Hayes
Staff (Retired)

Re: How to run JMP script from DOS command line

As Kodie, explains:

 

Add the script file in quotes after the jmp.exe:

 

C:\Program Files\SAS\JMP\13\jmp.exe "C:\users\<username>\ScriptName.jsl"

Duane Hayes

View solution in original post

3 REPLIES 3
XanGregg
Staff

Re: How to run JMP script from DOS command line

I think you can pass files to open to JMP on the command line, and a JSL file that has "//!" as the first line will automatically start running.

You can also control JMP directly from VB or C#. Look up OLE Automation in the JMP manuals.

Re: How to run JMP script from DOS command line

Hi if you want to run the script from command line just add the file in quotes after jmp.exe.

ie C:\jmp.exe "graph_script.JSL"

Hope this helps.

-Kodie
Duane_Hayes
Staff (Retired)

Re: How to run JMP script from DOS command line

As Kodie, explains:

 

Add the script file in quotes after the jmp.exe:

 

C:\Program Files\SAS\JMP\13\jmp.exe "C:\users\<username>\ScriptName.jsl"

Duane Hayes