Subscribe Bookmark RSS Feed

Question about using .bat file to execute .JSL script

euge

Community Trekker

Joined:

Sep 5, 2012

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
Solution

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);

2 REPLIES
Solution

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

Community Trekker

Joined:

Sep 5, 2012

Worked perfectly!