I have 10 individual scripts that operate on 10 different tables.
I want to write a master script that opens each table, and calls the script that should operate on that table, and then saves the resulting table.
At the end it will join all the resulting tables.
Is this possible to do?
I can not figure out how to call the script from within another script.
Thanks much for any help, I am just starting out.
You can either use functions or the include statement. Functions are described in the JSL manual.
Here's a simple example that uses the include statement:
// My main program
dt1 = open();
dt2 = open();
include("myprogram1.jsl");
include("myprogram2.jsl")
You can either use functions or the include statement. Functions are described in the JSL manual.
Here's a simple example that uses the include statement:
// My main program
dt1 = open();
dt2 = open();
include("myprogram1.jsl");
include("myprogram2.jsl")