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