SLIK Batch

The SLIK Batch operation allows you to call a sub-batch from within a batch. The sub-batch can in turn call other sub-batches.

A SLIK Batch Operation allows a job (within a batch) to call another batch.  All the jobs in the nested batch run to completion and the return status of the batch is used to determine if subsequent (sibling) jobs are run.

Note for a nested batch to qualify to run it must be enabled, but does not require a schedule.

By default a nested batch runs in the same thread as the parent and behaves exactly as if running independently.   This includes how e-mail messaging and error logging is performed.  Consequently, this may cause SLIK to send two e-mail/error messages, one by the nested batch job that failed as well as the 'Run Batch' job in the caller.  To avoid this behaviour set the 'Never log error’ processing option on the Job Processing Options tab.

It is possible to trigger a batch to run in parallel or concurrently.  This is achieved by setting the processing option "Execute concurrently" on the job that calls the SLIK batch. 

To create a SLIK Batch link you:

1.       Create a new Job (refer to Create a Job)

2.       Using the Operation Type field drop-down list select SLIK Batch.  By selecting the Operation Type of SLIK Batch a listing of all existing Batches will populate the Operation menu. 

3.       Using the Operation field drop-down list select the Batch the link is to be created to.

4.       Click on the Apply and OK buttons to save and close the new Batch file

Note: there are no limits on the number of Sub-Batch tiers you can create under a Batch.

Warning: if you attempt to link a Batch back upon itself a prompt message will appear advising you of the action and prompting you to remove the link.