Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6099 - Cannot assign to primitive type conversion

6099   Cannot assign to primitive type conversion

Cause

This error occurs if your application code assigns a value to a primitive type conversion. A primitive type conversion can never appear on the left-hand side of an assignment.

This error is also returned if your code passes a primitive type conversion as a parameter to another method, where that parameter is defined as usage io or output. As the other method can assign a value to this parameter, this is not permitted.

Action

Correct your application code to remove the primitive type conversion. 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) or input, in order to resolve the error.