Technote (troubleshooting)
Problem(Abstract)
Attempts to evaluate an expression results in error "The expression is not valid: Illegal or misplaced character "-" in IBM Rational Focal Point
Symptom
- Create two float attributes A&B in Rational Focal Point
- Create a Mirror Attribute point to Attribute B
- Create another float Attribute 'Sum' and put the expression as
Sum=('A'-'Mirror Attribute')
- Click on evaluate expression button and you would observe the reported error
Cause
The error is because of the placement of parenthesis in the expression.
Resolving the problem
You can rewrite the expression in the following ways to resolve the reported error
Sum='A'-'Mirror Attribute'
OR
Sum=('A'-('Mirror Attribute'))
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.