The JCL for this rule can be used as a model for similar Reconciliation rules using functions SETKEY and SUM.
The input file is referenced by the SORTIN DD statement. The output file is referenced by SORTOUT DD statement. The SORTWKnn DD statements are used by the SUM function as work files to sort the input file by its record key.
The SYSURC System variable (system user code) indicates the results of invoking the CTBRECL program. A zero value indicates successful completion. Therefore, BMC recommends that you print this variable in order to indicate any problems.
Figure 393 Solveware Rule Logic (5)
Rule Name: Comparing Two Large Files (with Reconciliation Functions WRITE and MERGEX)