Publication date: 07/08/2024

Name a Data Table

Using JSL, assign a name to a data table by sending it the Set Name message. The argument is a filename in quotation marks, or something that evaluates to a filename.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Set Name( "New Big Class.jmp" );
 
s = "New Big Class";
dt << Set Name( s );

To retrieve the name, send a Get Name message to the data table:

dt << Get Name();

"New Big Class"

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).