cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-86239%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3Estart%20jmp.exe%2C%20pass%20it%20a%20script%20and%20input%20variables%20all%20through%20the%20cmd%20line%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86239%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3Estart%20jmp.exe%2C%20pass%20it%20a%20script%20and%20input%20variables%20all%20through%20the%20cmd%20line%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJMP%20does%20not%20have%20a%20nice%20direct%20cmd%20line%20input%20ability%20to%20where%20I%20could%20launch%20jmp.exe%20via%20a%20script.%26nbsp%3B%20%26nbsp%3BThe%20request%20is%20for%20JMP%20to%20have%20this%20ability.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%20concept%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ejmp.exe%26nbsp%3B%20-s%3Asomescript.jsl%26nbsp%3B%20test%3Dinputvariable1%20%3CSPAN%3EinputPath%3D%3C%2FSPAN%3Einputvariable2%20%3CSPAN%3EmatchPath%3D%3C%2FSPAN%3Einputvariable3%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhere%20test%2C%20inputPath%20and%20matchPath%20are%20variables%20used%20inside%20the%20JMP%20script.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E------------%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20is%20now%2C%20my%20workaround%20is%20via%20this%20cmdLineJmp.cmd%20script%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Erem%20test%20options%3A%20%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Erem%201%3Dprecision%2C%202%3Dmatching%20to%20baseline%20file%203%3Dgauge%20precision%204%3D%20gauge%20matching%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eset%20test%3D%251%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eset%20inputPath%3D%252%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eset%20matchPath%3D%253%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ed%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ecd%20D%3A%5CData%5CJMP_Scripts%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eecho%20test%3D%25test%25%3B%20%26gt%3B%20scriptCmdInput.jsl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eecho%20inputPath%3D%25inputPath%25%3B%20%26gt%3B%26gt%3B%20scriptCmdInput.jsl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eecho%20matchPath%3D%25matchPath%25%3B%20%26gt%3B%26gt%3B%20scriptCmdInput.jsl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Eecho%20include(%22script-2_2.30.22_code.jsl%22%2C%20Names%20Default%20to%20Here(1))%3B%20%26gt%3B%26gt%3B%20scriptCmdInput.jsl%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ejmp.exe%20%22scriptCmdInput.jsl%22%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-86239%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-560908%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20start%20jmp.exe%2C%20pass%20it%20a%20script%20and%20input%20variables%20all%20through%20the%20cmd%20line%20-%20Status%20changed%20to%3A%20Archived%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-560908%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EWe%20are%20archiving%20this%20request.%20If%20this%20is%20still%20important%20please%20comment%20with%20additional%20details%20and%20we%20will%20reopen.%20Thank%20you!%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

start jmp.exe, pass it a script and input variables all through the cmd line

start jmp.exe, pass it a script and input variables all through the cmd line

 

JMP does not have a nice direct cmd line input ability to where I could launch jmp.exe via a script.   The request is for JMP to have this ability.

 

Example concept: 

 

jmp.exe  -s:somescript.jsl  test=inputvariable1 inputPath=inputvariable2 matchPath=inputvariable3

 

where test, inputPath and matchPath are variables used inside the JMP script. 

 

------------ 

As is now, my workaround is via this cmdLineJmp.cmd script

 

 

rem test options:
rem 1=precision, 2=matching to baseline file 3=gauge precision 4= gauge matching
set test=%1
set inputPath=%2
set matchPath=%3

d:
cd D:\Data\JMP_Scripts
echo test=%test%; > scriptCmdInput.jsl
echo inputPath=%inputPath%; >> scriptCmdInput.jsl
echo matchPath=%matchPath%; >> scriptCmdInput.jsl
echo include("script-2_2.30.22_code.jsl", Names Default to Here(1)); >> scriptCmdInput.jsl
jmp.exe "scriptCmdInput.jsl"

 

 

1 Comment
Ryan_Gilmore
Community Manager
Status changed to: Archived
We are archiving this request. If this is still important please comment with additional details and we will reopen. Thank you!