Start Batches Automatically
- Last UpdatedOct 29, 2024
- 3 minute read
You can automatically start a single batch or multiple batches. Only the batches which are in 'Ready' state can start automatically.
To start batches automatically, you must first enable the Batch Auto Start option and then initialize the required batches.
To enable the Batch Auto Start option, you must set the value of Batch Auto Start system parameter to 1. For more information on System Parameters, see View and Modify System Parameters.
Note:
- We recommend that you enable the Batch Auto Start option only if you want all the initialized batches to start automatically. This affects
the existing batches and any new batches added in the future.
- Before enabling the Batch Auto Start option for batches, ensure that there are no initialized batches in the Batch Scheduler.
The Batch Auto Start option is enabled or disabled in the following scenarios:
-
The Batch Auto Start option gets disabled automatically if security is enabled for the Start Batch function of the Batch Client application. For more information on enabling security, see Assign Security to Applications or Functions.
-
If the Done By and Check By security options are enabled for Batch Auto Start, then the Batch Auto Start option is enabled or disabled only after providing valid credentials.
-
The Batch Auto Start button remains in the same state (Enabled or Disabled) in Batch Scheduler even after the BatchMngr service is restarted or after a redundancy switchover.
-
When you upgrade from an older version of InBatch to the latest version, the default values for the Batch Auto Start and Batch Auto Start Msg system parameters are 0 and 1 respectively. Therefore, the Batch Auto Start option is disabled by default, after upgrade.
After the Batch Auto Start option is enabled, you must initialize the batch that you want to start automatically. If you want to start all batches automatically, then you must initialize all the batches. If multiple batches are initialized, then the batches are started in the order in which they appear in the schedule. When a batch is successfully initialized and started, the status changes from Ready to Run. For more information on initializing a batch, see Initialize a Batch.
To start batches automatically
-
Open the Batch Scheduler dialog box.
-
On the toolbar, click the Batch Auto Start
icon.
Or
On the Options menu, click Batch Auto Start.
A message appears asking your confirmation to enable the Batch Auto Start option.
-
Click Yes.
The Batch Auto Start option is enabled.
-
Perform either of the following:
-
To initialize and start a specific batch
-
Select the batch and then click Initialize Batch.
A confirmation message appears indicating that the batch will be initialized and then automatically started.
-
Click Yes.
The selected batch is initialized and started automatically.
-
-
-
To initialize and start all batches
-
Click Initialize All.
A confirmation message appears indicating that all the batches will be initialized and then automatically started.
-
Click Yes.
The batches are initialized and started automatically.
-