When this form of the SET statement is executed, the value of the receiving field is increased (UP BY) or decreased (DOWN BY) by a value that corresponds to the value in the sending field.
___ Format 2--SET (Adjusting Indexes) __________________________________ | | | <______________ | | >>__SET____index-name-3_|__ _UP BY___ __ _identifier-3_ ____________>< | | |_DOWN BY_| |_integer-2____| | | | |________________________________________________________________________|The receiving field can be specified by index-name-3. This index-name value both before and after the SET statement execution must correspond to the occurrence numbers in an associated table.
The sending field can be specified as identifier-3, which must be an elementary integer data item, or as integer-2, which must be a nonzero
When the Format 2 SET statement is executed, the contents of the receiving field are increased (UP BY) or decreased (DOWN BY) by a value that corresponds to the number of occurrences represented by the value of identifier-3 or integer-2. Receiving fields are acted upon in the left-to-right order in which they are specified. The value of the incrementing or decrementing field at the beginning of SET statement execution is used for all receiving fields.
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.