You can use the UPDATE statement to update the large table with values from the small table. Here's a JSL example:
dt_big = New Table( "Big_data_matrix",
Add Rows( 2400 ),
New Column( "First Column", Numeric, Continuous, Format( "Best", 12 ) )
);
dt_val = New Table( "Values", Add Rows( 24 ),
New Column( "Column 1", Character, Nominal,
Set Values( {"AA", "BB", "CC", "DD", "EE", "FF", "GG", "HH", "II", "JJ", "KK", "LL",
"MM", "NN", "OO", "PP", "QQ", "RR", "SS", "TT", "UU", "VV", "WW", "XX"} ) ),
New Column( "Row Number", Numeric, Continuous, Format( "Best", 12 ),
Set Values( [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24] ) )
);
// Fill with random integers from 1-24
for (i = 1, i <= 2400, i++,
column(dt_big, "First Column")[i] = round(random uniform(1, 24), 0);
);
dt_big << Update(
With( dt_val ),
Match Columns( :First Column = :Row Number ),
Add Columns from Update table( :Column 1 )
);