Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6098 - Cannot update constant

6098   Cannot update constant

Cause

This error occurs if your application code attempts to update the value of a constant. This is not permitted.

This error is also returned if your code passes a constant as a parameter to another method, where that parameter is defined as usage io, output, or input. As the other method can update this parameter (and would thus indirectly update the constant), this is not permitted.

Action

Remove the invalid code. If the error is being reported on the passing of a parameter, it may be possible to change the usage of that parameter to constant (the default), in order to resolve the error.