There is a JMP Preference in the Tables section of the Preferences called "Show Alternate Column Name". When this Preference is selected, the column name will be made up of a concatenation of the SPSS Name and SPSS Label, when the data table is created. But short of that, the only interactive method I am aware of is to go through each column, and copy the value of the SPSS Name, and paste it into the column name.
However, the following script, will quickly go through each column and change the column name to the value of the SPSS Name, if an SPSS Name exists
.
Names Default To Here( 1 );
dt = Current Data Table();
For( i = 1, i <= N Cols( dt ), i++,
If( Is Empty( Column( dt, i ) << get property( "SPSS Name" ) ) == 0,
Column( dt, i ) << set name( Char( Column( dt, i ) << get property( "SPSS Name" ) ) )
)
);
Jim