Defining Common Batch Parameters

Before running a batch from the Batch Monitor, you must define the parameters to be applied for the selected batch.

This scenario describes only common parameters. For batch-specific parameters, see the guide of interest.


Before you begin: You need appropriate licenses to open objects in the provider you are connected to.
  1. In the Batch Monitor panel, click Utilities, and then double-click the batch that you want to run.
  2. In the Object Selection area, define the appropriate options.
    OptionDescription
    Searches for objects stored in the 3DEXPERIENCE platform.

    For more information, see Searching for Objects.

    Searches for objects stored in other connectors (for example, VPMV5 or 3DXML).
    Searches for file objects.

    For more information, see Searching for Files.

    Note: This option is available only for batches that process file objects.
    Removes the selected object from the list.
  3. Define the batch parameters as explained in the batch-specific user assistance.

    For example, to print documents in batch mode, see Running the PLMPrintBatch.

  4. In the Report directory area, define the appropriate options.
    OptionDescription
    Report directory Specifies the path of the directory where the reports and the processed documents are stored.
    Important: This box is mandatory. By default, it is initialized with the current or temporary directory, depending on your configuration and on the write access.
    Opens the Directory Selection dialog box that lets you choose your own directory.
    Opens the global report in HTML format.

    You can also visualize the report by opening the results file from the directory where it has been saved. The new report automatically replaces the former GlobalResults.htm file.

    Important: This command is available only when the report is ready.
    Report name Specifies the name for the report that is generated in HTML format.

    The default report name depends on the batch that you are running but you can replace it by the name of your choice if required.

    This report is a global report dealing with all the processed documents. In addition to this global report, the batch also creates an individual report for each processed document in the report directory.

    Suffix for object report Adds a string at the end of each report name.
  5. Click Save.
    Your batch parameters are saved in an XML file. By default, the file is saved in a temporary folder.

    The file is named "BatchParameters" suffixed with the hour at which the batch was run (for example, "BatchParameters_14.41.25.xml" to indicate that the batch was run at 14.41.25 PM). When saved, you can edit this file manually, and use it later on to run the batch directly without reopening the batch interface.

    Recommendation: Open the XML file in a text editor. The Parameters.dtd file is not located in the same folder than the XML file being validated, therefore the file might not open.
  6. Click Run.
  7. In the Batch Monitor panel, click Start.
    The name and location of the XML file and the name of the host computer (if you run the batch in remote mode) display.
  8. Optional: To instantiate another batch while the current batch is running, do one of the following:
    • Click a batch, and then select File > Run.
    • Right-click a batch, and then select Run.

    Note: To delete a batch from the list, proceed as follows:
    • Click the batch, and then select Edit > Delete.
    • Right-click the batch, and then select Delete.

  9. In the Batch Monitor panel, click Processes.

    This tab displays information on the batch execution.

  10. Right-click a batch from the list, and then use the appropriate command.
    OptionDescription
    Results Opens the Results dialog box that displays 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.
    Tip: You can also double-click a batch in the list to open the dialog box.

    In the Results dialog box, click Save to save your results in TXT or XML format in the folder of your choice.

    Note: This file is different from the parameters file that you save from the batch interface.
    Interrupt Stops the batch execution.
    Delete Removes the batch from the list.

    See Generic Batch Monitor Error Codes and Generic Batch Error Codes for more information about batch errors.

  11. To read the reports generated by the batch execution, open the c:\temp\batchID folder.
    The following files are created, where "batchID" is the number identifying the batch.

    File Description
    batchIDLOG.txt Report in text format.
    batchIDLOG.xml Report in XML format.
    batchIDOUTPUT.xml Log containing the output.

    You can modify the default storage location of these files by exporting the following variable:

    set BATCH_HOME=new_path

    Where new_path is the path of the new storage location.

  12. Select File > Exit to close the Batch Monitor.