Subscribe Bookmark RSS Feed

How to run JMP script from DOS command line

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.



Jun 23, 2011

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.
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.