RPASCE Batch Control File Changes
Invoking the CMF rulegroup from batch is done by adding the rulegroup to the batch control files. The example below shows how to add a CMF rule group to batch control files. There are no additional steps required here. Please refer to any GA application implementation guide for more information on adding rulegroups to batch control files.
File: batch_calc_list.txt
iw_sum | group | cust7
In this example, the calc
set name is iw_sum
, which is of type group
, meaning it is executing a rule group. The third
item is the rule group name, which is cust7
. Rule group cust7
has a CMF property set and
contains execplsql
rules.
File: batch_oat_list.txt
calc | iw_sum | IW Sum
Here the Batch Control
Group Name is calc
and the batch set name is iw_sum
, meaning it will look at file batch_calc_list.txt
for an entry named iw_sum
. We already added it in the step above. The third
item is the label, which shows up on the UI in the drop down when user tries to execute the batch calc group OAT task.
File: batch_exec_list.txt
iw_all | calc | iw_sum
Here iw_all
is the Batch Set Name. Batch task type is calc
and parameter is iw_sum
. When iw_all
is invoked, it will look for an entry named iw_sum
in the batch_calc_list.txt
. Please
check the first step above for the entry in batch_calc_list.txt
.
The iw_all
can be
made part of a daily batch as shown in the example below.
File: batch_exec_list.txt
# Daily Batch Cyle
batch_daily | exec | *hook_batch_daily_pre
batch_daily | exec | DRDVEXPDB ? export_all
batch_daily | exec | batch_oo
batch_daily | exec | *hook_batch_daily_post
batch_daily | exec | re_daily
batch_daily | exec | iw_all