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 move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

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