cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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