@moti617,
Try the following.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << anonymize( columns( :name, :age ), output table name( "anonymized" ) );
Also, the following are really useful resources that you have at your disposal, that you should try and start exploring:
1. Scripting Index
2. Sample Data
3. Books
Best
Uday