To close a data table, use a Close command with the data table’s reference as the argument. Data tables with unsaved changes are saved automatically, including any linked tables. Reports and graphs generated from the data tables are also closed.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Close( dt );
Close( dt, No Save );
Close( dt, Save("c:/My File.jmp") );
Close All( Data Tables );
Close All( Data Tables, No Save );
Close All( Data Tables, private );
Close All( Data Tables, invisible );
Tip: Close All() also works with journals. Specify “Journals” in the argument.