Previous Topic

Next Topic

Book Contents

Book Index

Arguments

All arguments passed to the CTBRECL program must be predefined Control-M/Analyzer Local variables. For example, the values must be assigned before activating the CTBRECL program.

Table 296 Reconciliation Function SUMX Arguments

Argument

Description

recFunc

Reconciliation function to be used when specifying the CTBRECL program. Set the value of the recFunc Control-M/Analyzer Local variable to SUMX before invoking the DO CALLUSER statement. Mandatory.

match

Flag that indicates whether matched records should also be listed. Must be a Control-M/Analyzer Local variable. Mandatory. Valid values are:

  • YES – Matched records should be listed in a separate file referenced by the SRECOUT2 DD statement. Unmatched records are listed in a file referenced by the SRECOUT1 DD statement.
  • NO – Matched records should not be listed. Unmatched records are listed in a file referenced by the SRECOUT1 DD statement.

SumExcl

This argument is reserved for future use. In the meantime, set sumExcl to zero. Mandatory.

argNum

Number of offset, length, and fldType arguments specified in this DO CALLUSER statement. argNum must be a Control-M/Analyzer Local variable with a numeric value. Mandatory.

offset

Starting position of the corresponding field to be summed in the file being processed. For example, if the starting position is the left-most column in a record, set the value of offset to 1. Must be a Control-M/Analyzer Local variable with a numeric value.

len

Length of the corresponding field that should be totaled, starting at the previous offset. Must be a Control-M/Analyzer Local variable whose value is numeric.

fldType

Type of the field to be totaled. Valid values are:

  • ZD – Signed, zoned decimal field
  • PD – Packed decimal field
  • BI – Signed binary field

Note: At least one offset-len-fldType set must be specified. The number of offset-len-fldType sets is limited by the maximum number of arguments that can be specified in a DO CALLUSER statement. Each set of these arguments specifies a field to be summed.

Parent Topic

SUMX