When you create a batch script, either from the Control Center or using the Batch Deployment Tool command line interface, you must perform the following steps before running the script:
Copy the batch project to the server. Replace the input entity name if necessary.Check and update the configuration file.Check and update the script file. Check and update the environment variables.Guidelines:
- If you create a batch script and then move the exported files to a different environment, you must modify some of the settings in the batch files to reflect the new path.
- If you move project definition files before using the Batch Deployment Tool to create the batch script, you do not have to modify the paths.
- If you export a project that uses the Global Postal Matcher and you want to run it on a different server, you need to edit the SERVER setting. This setting must be set to the name of the server where the Global Postal Matcher will run. This applies to both batch exports and project definition exports.
- If your batch project includes a Database Read/Write process, uses an ODBC data source that uses an ODBC driver (database adapter) and the Vendor-Supplied ODBC Adapter, and you run the exported batch script in a Linux environment (Trillium server installed on a Linux system), the batch script will fail. This scenario is supported only when the Trillium server is installed on a Windows system.
Input Entity Names
When you export a project for batch implementation from the Control Center, the input entity name after the export varies depending on your entity type.
- Flat files. When the input entity is a flat file, the export will retain the original entity name.
- Delimited files. When the input entity is a delimited file, the export will use the default entity name. The default entity name is the original entity name but the Control Center changes the file extension to ".dat". For example, customer_input.csv becomes customer_input.dat. Therefore you need to open the settings file for the first process and replace this name. Typically this is changed to the entity name that is used to replace the original entity.
Note: When pipes are used, all interim input/output
entities use "stdin" and "stdout".
To change the input entity name for a batch project
Batch Script
To run a batch script