DB2 Scalar functions - RAWTOHEX
The RAWTOHEX function returns a hexadecimal representation of a value as a character string.
The schema is SYSIBM.
The result of the function is VARCHAR. If the argument can be null, the result can be null. If the argument is null, the result is the null value. The length of the result is computed based on the following table:
values rawtohex('hello')