The composite of operands in an arithmetic statement can have a maximum length of 30 digits. In Format 3, the composite of operands is determined separately for each pair of corresponding data items.
Format 3 (ADD with CORRESPONDING) ->->---ADD--*-CORRESPONDING-*-identifier-1 TO identifier-2--*---------*---> *-CORR----------* *-ROUNDED-* ->----*----------------------------------------------*-------------------> *--*----*---SIZE ERROR imperative-statement-1--* *-ON-* ->---*---------------------------------------------------*---------------> *-NOT---*----*---SIZE ERROR imperative-statement-2--* *-ON-* -> --*---------*---------------------------------------------------------><- *-END-ADD-*
The CORRESPONDING phrase (CORR) allows ADD, SUBTRACT, and MOVE operations to be performed on elementary data items of the same name if the group items to which they belong are specified. Both identifiers following the keyword CORRESPONDING must name group items.
In Format 3, identifiers must name a group item.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.