In this blog post, let’s learn about the error message “4048 The third operand of a ternary comparison operator must be of type BOOLEAN, not type.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4048 The third operand of a ternary comparison operator must be of type BOOLEAN, not type.
Reason for the Error
You specified the third operand of a ternary comparison argument with an invalid type. The type must be Boolean.
Solution
Correct the syntax and resubmit