When the COMPUTE statement is executed, the value of arithmetic-expression is calculated, and this value is stored as the new value of each data item referenced by identifier-1.
An arithmetic expression consisting of a single identifier or literal allows you to set the value of the data items referenced by identifier-1 equal to the value of that identifier or literal.
Click here for a description of arithmetic expressions.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.