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
euge
Level III

Question about using .bat file to execute .JSL script

Hello folks,

I have a .bat file that I run on scheduler that executes a .jsl file:

"C:\Program Files\SAS\JMP\9\JMP.exe" "C:\ivb raw data\Lstep table merge.jsl"

The problem is that after it executes the script successfully, it won't advance to the next command in the .bat file, which is to zip and move the files over.

Eventually, I decided to exit JMP (no files were open since I closed them all using the script).

To my surprise, this allowed the .bat file to continue.

Is there a way to automate this so i don't have to manually exit the program?

1 ACCEPTED SOLUTION

Accepted Solutions
twaintwist
Level III

Re: Question about using .bat file to execute .JSL script

Just make sure you close the datatable and exit the jsl script ---

Add this to the end of your Lstep table merge.jsl

Close( dt, No Save );

Exit (No Save);

View solution in original post

2 REPLIES 2
twaintwist
Level III

Re: Question about using .bat file to execute .JSL script

Just make sure you close the datatable and exit the jsl script ---

Add this to the end of your Lstep table merge.jsl

Close( dt, No Save );

Exit (No Save);

euge
Level III

Re: Question about using .bat file to execute .JSL script

Worked perfectly!

Recommended Articles