security.HexBinary.ToString

Decodes an hexadecimal string to a clear, human-readable string.

Syntax

security.HexBinary.ToString(
   source STRING )
  RETURNING result STRING
  1. source is a string in hexadecimal.
  2. result is a human readable string.

Usage

Decodes the given hexadecimal string and returns it in its clear, human readable, form. If the hexadecimal string does not contain a human readable string, the method will raise an exception.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).