All you have to do is to Join the data tables by the column named Variable in the Limits data table to the column named Analysis Columns in the Tabulate data table. If you first do this interactively using
Tables=>Join
the JSL used to do the joining will be displayed in the log. Or you can look in the source table variable in the newly created joined data table and it will have the script there too.
Here is an example from the Scripting Index using JSL to join 2 tables
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Trial1.jmp" );
dt2 = Open( "$SAMPLE_DATA/Little.jmp" );
dt << Join(
With( Data Table( "Little" ) ),
Select( :popcorn, :oil amt, :batch, :yield ),
SelectWith( :yield ),
By Matching Columns( :popcorn = :popcorn, :batch = :batch, :oil amt = :oil )
);
Jim