For the latest version of JMP Help, visit

Publication date: 07/30/2020

Copy Data Tables

The most efficient way to copy a data table is with the Subset() function. The following example subsets all rows and columns into New

sourceDT = Open( "$SAMPLE_DATA/Big" );
destDT = sourceDT << Subset( Columns(), Rows(), Output Table Name( "New" ) );

You can also use Copy File().

Copy File( "$SAMPLE_DATA/Big", "c:/MyData/New" );

Copy File() is equivalent to copying the file on your computer. However, you have to consider whether the destination data table with the specified name already exists. And the source file has to be saved. If the source file is not saved, or the destination file already exists, the copy fails. It’s safer to use the Subset() method shown above.

Want more information? Have questions? Get answers in the JMP User Community (