cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

JMP Wish List

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

Make scripts inside a data table editable via JSL

I have been running into this issue recently : I wanted to have a jsl script edit another script that is embedded inside a data table.

 

Currently, the best I can do is get the script with the message:

dt<< get script () ;

I get the content of the script as a string which I can edit, then I can save it using :

 

dt<< save script ();

The problem is it can only make a copy and not save to an existing scrîpt. If I use the same name, it will simply add a '2' at the end of the name.

 

I guess I could save it as number 2, erase the first one, then rename the number 2 to have the original name but this seems a bit tedious and dangerous to do...

 

 So, what I propose, is a dt<<Edit script (); message.

While we're at it, why not make data table scripts into scriptable objects ? With a way to refer to them, like dt:myscript. Like this they could receive a bunch of messages like all the other objects within JMP.

 

 

 

 

 

 

 

 

2 Comments
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!
hogi
Level XIII

Much better than scripting a script as a string - edit it as an expression.

 

e.g. to get a functionality like dt << Delete Table Variables()