The Result-Field operand must be a field that can be modified.
30
Cause . . . . . : The Result-Field operand is a User-Date field (UDATE, UMONTH, UDAY, UYEAR, *DATE, *MONTH, *DAY, or *YEAR), a Look-Ahead field, *IN1P, *INMR, or an input-only parameter (CONST keyword specified on the parameter definition). These fields cannot be modified, but the operation code requires a Result-Field operand that can be modified.
Recovery . . . : Ensure that the Result-Field operand can be modified. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.