Fascinating. I did not know that ever worked. It appears not to work in JMP 16. ( @XanGregg try big class:name<<setname("yyy") )
Change all "dt = daily mean" to "dt_tab" and I think you'll be back in business.
something like this:
dt_tab:Name( "Mean(Temp (F))" ) << Set Name( "Mean temp °F" );
"daily mean" is the name of the data table. Apparently, before JMP 16, that made a name space. You have a variable in the JSL, dt_tab, that holds a handle to the data table which is what is usually used.
In your original JSL, you are not actually using the assignment to dt (other than at the beginning for the current data table) and it was not doing anything useful.
Craige