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.

Discussions

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

Is there a way to save a jmp-formatted table that doesn't contain .jmp in the filename?

Why is it that when you use the command save() to save a jmp-formatted table, the saved filename has to contain .jmp. Is there a way to save a jmp-formatted table that doesn't contain .jmp in the filename?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Is there a way to save a jmp-formatted table that doesn't contain .jmp in the filename?

I have not done that, however, you can always rename the file after it has been saved

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Save( "$temp\Big Class.jmp" ); 
rc1 = Rename File( "$TEMP/Big Class.jmp", "namewithoutanextension" );
show(files in directory("$TEMP"));
Close( dt, "NoSave" );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Is there a way to save a jmp-formatted table that doesn't contain .jmp in the filename?

I have not done that, however, you can always rename the file after it has been saved

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Save( "$temp\Big Class.jmp" ); 
rc1 = Rename File( "$TEMP/Big Class.jmp", "namewithoutanextension" );
show(files in directory("$TEMP"));
Close( dt, "NoSave" );
Jim
lehaofeng
Level V

Re: Is there a way to save a jmp-formatted table that doesn't contain .jmp in the filename?

That is a good workaround!

Recommended Articles