Running a Batch from Its Interface or from the Batch Monitor

You can run a batch directly from its interface or, if the required parameters have already been defined, you can run it directly from the Batch Monitor.

This task shows you how to:

Run a Batch Directly from the Batch Interface

When a batch has been run at least once or when you click Save, an XML file containing the batch parameters is generated. You can reuse these parameters later on without having to define the batch parameters again.

  1. Open the Batch Monitor, either from the command line or from a session.
  2. In the Utilities tab, click a batch.
  3. In the batch interface, right-click anywhere, and then select Read input from parameter file.
  4. In the File Selection dialog box, navigate to the XML file.
  5. Click OK to validate and close the dialog box.
    The batch interface displays the information contained in the parameter file.
  6. Click Run.

Run a Batch Directly from the Batch Monitor

If you already have an XML file containing all the required inputs, there is no need for you to define the batch parameters. Therefore, you can run the batch directly by associating the corresponding XML file to the batch.

  1. Open the Batch Monitor, either from the command line or from a session.
  2. In the Utilities tab, click the batch that you want to run.
  3. Do one of the following:
    • Select File > Associate a parameter file.
    • Right-click the batch, and then select Associate a parameter file.
  4. Navigate to the folder that contains the XML file, and then click Open.
  5. In the Batch Monitor, click the Start tab.
    The tab now displays the name and location of the XML parameter file you associated with the batch.
    Note: You can modify the file properties by selecting Edit > Properties, or by right-clicking the file name, and then selecting Properties.
  6. Optional: To run the batch on a remote machine, specify the target machine name by selecting the appropriate option.

    Indicate the host name in the Host Name field. By default, batches run on your local machine. For more information about running a batch in remote mode, see Running Batches in Remote Mode.

    Note: The Properties shortcut menu is grayed out if it is not available for the batch that you are running.

  7. Optional: In the Settings directory field, enter the path of the directory used to run the batch.

    You can also click Browse , and then browse your file tree to the directory of your choice.

    After clicking OK, the path of the selected directory is displayed in the Settings Path column of the Start tab.
    Note: You can use a file whether in local or remote mode.
  8. To run the batch, do one of the following:
    • Select File > Run.
    • Right-click the batch, and then select Run.
    The batch execution starts.
    Tips:
    • You can instantiate another batch while the current batch is running.
    • The Start tab also lets you delete a batch from the list by selecting it from the list then selecting Edit > Delete (or by right-clicking then selecting Delete).
  9. Click the Processes tab.
    The generic Batch Monitor error codes and the generic batch error codes are as follows:
    Generic Batch Monitor Error Codes
    1: Command-line syntax error.
    2: Error in XML parameter file.
    3: Communication layer error.
    5: License acquisition error.
    6: Invalid library error.
    7: Error attempting to start a batch requiring a graphic adapter on a machine without an adapter.
    9: Miscellaneous.
    Generic Batch Error Codes
    0: Batch completely successful.
    4: Batch partially successful.
    8: Batch failed.
    20: Error checking licenses.
    21: Error accessing INPUT/OUTPUT.

    The Processes tab also allow you to interrupt the batch execution. To do so, right-click the batch from the list, and then select Interrupt.

    To delete a batch from the list, right-click the corresponding line, and then select Delete.

  10. To display the report of the batch execution, double-click the batch.

    The Results dialog box indicates the beginning and end date and time of the batch execution as well as the name and path of the documents that have been processed.

    You can then:

    • Click Save to save the information in the folder of your choice. The file formats available are .txt and .xml.
    • Click Close to close the dialog box and go back to the Batch Monitor.
  11. Select File > Exit to close the Batch Monitor.