Customizing with User Scripts

User scripts are files that contain SQL statements for modifying the client control tables. They provide a convenient way of automating the customization changes that are applied to the control tables. The DATABridge Client looks for user scripts in the directory specified by the configuration file parameter user_script_dir. If the user_script_dir parameter is not set in the configuration file, the scripts directory is used. User scripts are automatically executed when certain commands are run, provided they exist.

The main purpose of user scripts is to preserve changes to the control tables by having the program run these scripts to restore the changes whenever necessary. To view sample data set layout and data table customization scripts, see Appendix D: Customization Scripts.

Note: In DATABridge Client 6.1 and later, you can make the same types of customizations to the client control tables using the Client Configurator as you can by writing user scripts. You can find a complete description of the additional requirements for user scripts that are compatible with the Client Configurator in Appendix D: Customization Scripts. For information about using the Client Configurator to customize your data source, see the DATABridge Client Console Help.