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.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar
0 Kudos

Saving data tables with JSL

What inspired this wish list request? 

 

The current syntax for saving data tables with JSL is a bit clunky.

dt=current data table();
dt << Save(<filepath>);

This requires specifying the complete file path, which includes the JMP data table name.  To save the file with its current name it is even more clunky.   

dt = current data table();

table_name=dt << get name;
dir="C:\temp\";
filepath=dir || table_name || ".jmp";
dt << save( filepath)

 

What is the improvement you would like to see? 

 

I would like a Save File( ) function that you can save data tables (and possibly any JMP file) with a more obvious and compact syntax.   For saving tables, it could look something like this

 

dt=current data table();
// save to default directory
Save File(dt);
// save to specific directory
Save File(dt, <directory path>)
//save to specific directory with data table name new name
Save File(dt, <directory path>, <new name>)

 

 

Why is this idea important? 

It is for JSL coding efficiency and readability. 

 

2 Comments
hogi
Level XIII

instead of 

Save File(dt);

you can use

dt << save();

 

For the issue with path and filename, one could make the wish more general - way beyond "SAVE" - 
... and ask for a framework to handle file pathes in JMP  like it's possible in other languages

(maybe there is an existing wish?).

 

Just have a look at  pathlib / Path in python. It's not rocket science - but it removes a lot of pain : )

Sarah-Sylvestre
Level V
Status changed to: Acknowledged

Thank you for submitting this request!