Information Management IBM InfoSphere Master Data Management, Version 10.1

Running J2SE Batch Processor batch jobs

A batch startup script is provided within the Batch Processor distribution. The script is named runbatch.sh, and is found in the bin folder. Depending on where the application server files are installed, some script variables must be set. See the script for more details.

The following parameters are passed to the runbatch script. These are positional parameters and must be passed in the following sequence:

  1. Input URL – Mandatory parameter. The Input URL points to the batch input source. For file-based input, this is the absolute or relative path along with file name of the input file.
  2. Output URL – Mandatory parameter. The Output URL points to the batch output destination. For file-based input, this is absolute or relative path along with file name of the output file.
  3. Batch Extension Properties file – Optional parameter. Name of the extension batch properties file, which contains additional batch configurations.

Once started, the Batch Processor starts processing the batch records by reading them from the specified input, dispatching them for server-side processing and then writing the response into the specified output.

Note: If multiple instances of processors are used, the sequence in which records are processed is not guaranteed, and the output records may not be in the same order as the input records. If batch records must be processed in the order specified by the batch input, you must set the number of consumer instances to 1 for all consumers.

Once the Batch Processor has read all of the input records and has written their corresponding results to the output, the Batch Processor terminates. On termination, the status displays the number of records processed, and the time it took to process the batch is shown in milliseconds.



Feedback

Timestamp Last updated: 18 Jul 2013

Topic URL: