SCV job batches

Two new macro commands are now available to support SCV job batches:

  • StartSCVBatch(<batch name>)
  • EndSCVBatch()

An SCV batch is a sequence of macro steps included in a macro between the StartSCVBatch and EndSCVBatch commands. The StartSCVBatch macro command accepts an optional Batch Name parameter.

These commands support running multiple SCV jobs in parallel or running SCV jobs exclusively in a sequence. An example use case is simultaneous export of batches from multiple PS models to M3.

Using the specified Batch Name parameter, the StartSCVBatch macro synchronizes the execution of the macro steps included in the SCV batch. One SCV batch can only run at a time, with the same Batch Name. However, it is possible to run two SCV batches at the same time with different Batch Names.

When the Batch Name parameter is not specified, this creates a ’global’ batch and only one such batch can run at a time. No other SCV jobs can be started at the same time. This is the same as the existing behavior prior to this release.

StartSCVBatch and EndSCVBatch can be used many times as required in a single macro. However, nested batches are not allowed in a single macro; the first SCV batch must end before a second batch can start.

Note: By default, this feature is enabled. A new role or privilege is not required to access this feature.