User Script Execution
The data set mapping customization scripts (script.user_datasets.datasource and script.user_layout.primary_tablename), and the data table customization scripts (script.user_datatables.datasource and script.user_define.primary_tablename) are executed as a single transaction group. Therefore, if there is an error in these scripts, the entire transaction group is aborted, which effectively undoes any updates that were done in the script. You can then correct the scripts and test them by running them again via the runscript command.
Note: Use the runscript command if you only have a handful of scripts. If you have a lot of scripts, run them using the define command with the –u option.
The data table creation user script (script.user_create.tablename) and the index creation user script (script.user_index.tablename) are not run in transaction mode. Instead, they are executed as follows:
As it processes user scripts, the DATABridge Client issues the following confirmation message:
Running script "script_filename"