*---------*---------------*-----------------*----------------*---------------* | CODE | FACTOR 1 | FACTOR 2 | RESULT | INDICATORS | | | | | FIELD | | *---------*---------------*-----------------*----------------*---------------* | Z-ADD | | Addend | Sum | + - Z | | (1/2) | | | | | *---------*---------------*-----------------*----------------*---------------*
Factor 2 is added to a field of zeros. The sum is placed in the result field. Factor 1 is not used. Factor 2 must be numeric and can contain one of: an array, array element, field, figurative constant, literal, named constant, subfield, or table name.
The result field must be numeric, and can contain one of: an array, array element, subfield, or table name.
Half-adjust (position 53) can be specified.
For the rules for the Z-ADD operation, see Arithmetic Operations.
See Figure "Summary of Arithmetic Operations" for an example of the Z-ADD operation.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.