Parallel Processing
The Cost Allocation Process allows multiple instances of the chain to be processed at the same time. The main differentiator between each instance of the Cost Allocation Process is the Cost Allocation Parameter ID (CAPA ID). With this function, multiple instances for the same CAPA ID are not allowed. The following updates must occur each time the job is run from the Job Manager; please refer to the run sheet for more information.
The default value for the PARM_FILE (Parameter File) parameter in the Load CA step must be updated with the CAPA ID specified for the CSAL_PROC_PARM_ID parameter during the Cost Allocation Process Job step.
The default value for the EXCEP_REP_FILE_NM (Exception Report File Name) parameter in the Submit CA step must be updated with the CAPA ID specified for the CSAL_PROC_PARM_ID parameter during the Cost Allocation Process Job step.
The default value for the PARM_FILE (Submit Parameter File) parameter must be updated with the CAPA ID specified for the CSAL_PROC_PARM_ID parameter during the Cost Allocation Process Job step.
If the jobs are run using a job scheduler, the parameters should be updated in the appropriate .dat file. Note that if Cost Allocation is run for the same CAPA ID as part of a regular cycle, the associated .dat file would only have to be updated once and the parameter values can remain fixed from then on.
Important Information
Warning: It is critical that business users ensure that the same ledger records are not being allocated in more than one instance of Cost Allocation. This is extremely important when parallel processing is invoked. The combination of selection parameters on Cost Allocation Parameter and the associated pool setup on Pool/Base Distribution should be reviewed to ensure that ledger records are not being allocated multiple times. No logic has been added to prevent such a scenario from occurring.
PURGE_PREV_RUN_CAPA_ID (Previous Run CAPA ID) is an optional parameter in the Cost Allocation Process Job step that allows you to purge all records related to prior runs from background tables (that is, CSAL_JRNL_SUM, CSAL_TOT, CSAL_EXPN_RSLT, CSAL_HIST) for the CAPA ID supplied. This parameter should be used in order to keep the record counts for the background tables as low as possible.