The operation extenders are single-character entries that provide additional attributes to the operations that they accompany. Operation extenders are specified in position 53 of calculation specifications.
An H indicates whether the contents of the result field are to be half adjusted (rounded). Half-adjusting is done by adding 5 (-5 if the field is negative) one position to the right of the last specified decimal position in the result field. The half adjust entry is allowed only with arithmetic operations, but not with an MVR operation or with a DIV operation followed by the MVR operation. Half adjust can be specified only if the number of decimal positions in the generated result is greater than the number of decimal positions in the result field. Resulting indicators are set according to the value of the result field after half-adjusting has been done.
An N in a READ, READE, READP, REDPE, or CHAIN operation on an update disk file indicates that a record is to be read, but not locked. If no value is specified, the default action of locking occurs.
A P indicates that, for CAT, SUBST, MOVEA, MOVEL, or XLATE, the result field is padded on the right after executing the instruction if the result field is longer than the result of the operation. Padding is done from the left for MOVE.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.