8.4.4.2 Setting Up Batches

Oracle Financial Services delivers with a default batch called DLY. The KDD_PRCSNG_BATCH table includes this batch and must contain all batches in the system. When a batch starts as part of an automated process, it uses the batch names and other start-up information in this table.

The following table provides the contents of the KDD_PRCSNG_BATCH table.

Table 8-6 KDD_PRCSNG_BATCH Table Contents

Column Name Description
PRCSNG_BATCH_NM Name of the batch (for example, DLY).
PRCSNG_BATCH_DSPLY_NM Readable name for the batch (for example, Daily).
PRCSNG_ORDER Relative order of a batch run within processing.
EOD_BATCH_NM Name of the batch that is this batch’s end-of-day. This name is the same as the name for PRCSNG_BATCH_NM if the row represents an end-of-day batch.

Each row in the KDD_PRCSNG_BATCH table represents a batch. Each batch identifies the batch that is the corresponding end-of day batch. The following three examples illustrate this concept.

Single Batch

In this example, the KDD_PRCSNG_BATCH table contains a single batch per day. This is typical of deployment of a single geography for which a solution set does not require detection more than once daily. The KDD_PRCSNG_BATCH table may look similar to the example in the following table.

Table 8-7 Sample KDD_PRCSNG_BATCH Table with Single Batch

PRCSNG_BATCH_NM PRCSNG_BATCH_DSPLY_NM PRCSNG_ORDER EOD_BATCH_NM
DLY Daily Batch 1 DLY

Single Site Intra-day Processing

In this intra-day batch example, the system is servicing a single time zone but runs an additional batch during the day to identify behaviors related to overnight trading, as described in the following table.

Table 8-8 Sample KDD_PRCSNG_BATCH Table with Intra-day Processing

PRCSNG_BATCH_NM PRCSNG_BATCH_DSPLY_NM PRCSNG_ORDER EOD_BATCH_NM
MAIN Main Evening Batch 2 MAIN
MORN Morning Batch 1 MAIN

In this configuration, run the Calendar Manager Utility only during the MORN batch. See Calendar Manager Utility, for more information. You can run the Data Retention Manager in either the MORN or MAIN batch. If you run it in the MAIN batch, define at least one buffer partition so that the MORN batch does not fail due to inadequate partitions.

See Data Retention Manager, for more information.

Multiple Countries

A single deployment supports detection against data from New York, London, and Hong Kong. In this case, three batches are all end-of-day batches, as described in the following table.

Table 8-9 Sample KDD_PRCSNG_BATCH Table with Multiple Country Processing

PRCSNG_BATCH_NM PRCSNG_BATCH_DSPLY_NM PRCSNG_ORDER EOD_BATCH_NM
HK Hong Kong 1 HK
LND London 2 LND
NY New York 3 NY

Since Hong Kong’s markets open first, this is the first batch. You should run the Calendar Manager and Data Retention Manager at the start of the HK batch.

Upon setup of the batches, Behavior Detection processing begins with the start_mantas_batch.sh shell script. The final step in a batch is calling the end_mantas_batch.sh shell script.