security.HexBinary.FromString

Encodes a given string in hexadecimal.

Syntax

security.HexBinary.FromString(
   source STRING )
  RETURNING result STRING
  1. source is the source string to be encoded in hexadecimal.
  2. result is the encoded hexadecimal string.

Usage

Encodes the given string and returns it in hexadecimal.

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).