security.HexBinary.ToBase64

Converts an hexadecimal string to the base64 equivalent

Syntax

security.HexBinary.ToBase64(
   hexBinVal STRING )
  RETURNS STRING
  1. hexBinVal defines the string in hexadecimal form

Usage

Decodes the given hexadecimal string and returns it in base64.

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