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.
  • 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.