Here is one way to do what you want
names default to here( 1 );
// Open a sample data table
dt = Open( "$SAMPLE_DATA/big class.jmp" );
// Get all of the character columns for concatenating
colNames = dt << get column names(character,string);
// Build a command string that generates the JSL to create the column
theExpr = "dt << new column( \!"concat\!", character, formula( concat(:" || colNames[1];
For( i = 2, i <= N Items( colNames ), i++,
theExpr = theExpr || ",:" || colNames[i]
);
theExpr = theExpr || ")));";
// Run the command string
Eval( Parse( theExpr ) );
Jim