Validation and execution

The previously acquired ‘named lock’ or ‘global lock’ is released for an SCV batch, on successful validation and execution of the macro.

These are the execution steps:

  • The macro determines the lock that is currently acquired for the batch. This can be ‘named lock’ or ‘global lock’.
  • The macro releases the ‘named lock’ or ‘global lock’.
  • An SCV batch with a batch name can start running if the lock is released.
  • An SCV batch or SCV job requiring the ‘global lock’ can run, if SCV batches with a batch name or with the ‘global lock’ is not available.
Note: The status of the job is set to Error if the macro execution fails to complete.

This table lists the status of the supported cycle period and scenarios for which the macro can be executed:

Cycle Period Status Scenario Status Can Execute?
Pending N/A No
Archived Any No
Running, Completed, Paused, Aborted Any Yes