cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
nmossery
Level II

Jmp.exe arguments

Hi,

i am running JSL file through CMD line at mac.

i am running "jmp.exe *.jsl" . 

i want to send another input through the CMD line . for example "jmp.exe *.jsl filename.csv".

is there anyway to get the filename.csv as argument and call it from the script ?

Thanks , Noam.

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: Jmp.exe arguments

I'm not sure how to do it the right way; here's a work-around:

Pass an environment variable to JMPPass an environment variable to JMP

The echo command is making a tiny JSL file named test.jsl. The next line sets an environment variable named myvar and uses a & character to put a second command on the same line to start JMP with the test.jsl file. The jsl program uses the Get Environment Variable function to retrieve the value that set put in the environment variable.

Craige

View solution in original post

2 REPLIES 2
Craige_Hales
Super User

Re: Jmp.exe arguments

I'm not sure how to do it the right way; here's a work-around:

Pass an environment variable to JMPPass an environment variable to JMP

The echo command is making a tiny JSL file named test.jsl. The next line sets an environment variable named myvar and uses a & character to put a second command on the same line to start JMP with the test.jsl file. The jsl program uses the Get Environment Variable function to retrieve the value that set put in the environment variable.

Craige
nmossery
Level II

Re: Jmp.exe arguments

Thanks !

The work around s excelent .

Recommended Articles