This works fine:
Names Default To Here(1);
dt1_dir = Pick Directory("Pick dir", "$SAMPLE_DATA/");
dt1 = Pick File(
"Select JMP File",
dt1_dir,
{"JMP Files|jmp;jsl;jrn", "All Files|*"},
1,
0,
0
);
Show(dt1);
dt1 = Open(dt1);
Show(dt1);
dt2_dir = Pick Directory("Pick dir", "$SAMPLE_DATA/");
dt2 = Pick File(
"Select JMP File",
dt2_dir,
{"JMP Files|jmp;jsl;jrn", "All Files|*"},
1,
0,
0
);
Show(dt2);
dt2 = Open(dt2);
Show(dt2);
concat_dt = dt1 << Concatenate(dt2,
Output Table("Concat datatable"),
Create Source Column
);
Do similar changes to your code and check if it works (check Concatenate())
-Jarmo