Hi all ,
I tried to concatenate several table , but the result showing "losscodereason" in multiple column , it suppose to show in one column if I do it manually in jmp.
Names Default To Here( 1 );
Final_Table="final result";
// Concatenate the tables and delete them. Add all of the tables to the first table
dtj=data table(losscode[1]);
For( i = 2, i <= nItems(losscode), i++,
dtj << concatenate(data table(losscode[i]), append to first table(1));
close(data table(losscode[i]), nosave);
);
// Rename the table to the desired name
dtj << set name(Final_Table);
wrong result (multiple column)
Correct result (all in one column)