The CAST specification transforms the value of one data type into another data type.
For the syntax of the CAST statement see CAST function.
A CAST specification returns its first operand (source_expression) as the type specified by the second operand (the target data type). In all cases, if the source expression is NULL, the result is NULL. If the evaluated source expression is not compatible with the target data type, or if the source expression is of the wrong format, a runtime error is generated.
Not all conversions are supported; see Supported casts for a full list of supported conversions.
The CCSID clause allows you to specify a code page. It is used for certain conversions only.
The CCSID expression can be any expression evaluating to a value of type INT. It is interpreted according to normal WebSphere Business Integration Message Broker rules for CCSIDs.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ak05670_ |