Starting a batch job with multiple input files

Batch jobs that use a multiple input files are initiated by running runbatch.sh.

Procedure

  1. Navigate to the $home/bin directory that holds the runbatch.sh script.
  2. Run the runbatch.sh script:
    runbatch.sh
    The batch processor reads the input files one by one as defined in the following Batch.properties file properties:
    • SIF_INPUT_PATH defines the location where batch input files are read from.
    • SIF_INPUT_FILE_NAMES defines a comma separated list of batch input files.
    • SIF_OUTPUT_PATH defines the location where batch output files will be created.

Results

The batch processor creates a chain of batch jobs, with each job in the chain representing a single input file.

By default, the chained jobs will be run in the same sequence as defined in the command line. The batch processor sets the sequence by replacing the <<PriorityType>> placeholder in the PureBatch.xml job template. The first job in the chain takes the value specified by the Batch.properties file’s priority_min property. The second job uses the value of priority_min plus one, the third job uses the priority_min value plus two, and so on until the value reaches the value specified by priority_max.

Important: If there are more input files than available priorities, then the batch will fail.