cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Variable for filename

Hi Guys,

I have collected some cell values in certain variables. I want to save a file with the variable values as the file name.

I was trying something like this: I am saving the i.d. values in two variables.

1 REPLY 1
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Variable for filename

Your solution is easy enough, you just have to follow the jsl syntax. Save() requires a string argument so you must be careful with where you place the quotation marks (reading the error messages in the log is good for learning how to debug your code).

And you must concatenate the substrings of course.

e.g.

id1||"_"||id2||".jmp"

If you have numeric columns you must also use Char()

char(id1)||"_"||char(id2)||".jmp"

Recommended Articles