Choose Language Hide Translation Bar
Highlighted
nmossery
Community Trekker

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.

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Craige_Hales
Staff (Retired)

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
Highlighted
Craige_Hales
Staff (Retired)

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

Highlighted
nmossery
Community Trekker

Re: Jmp.exe arguments

Thanks !

The work around s excelent .