security.HexBinary.FromBase64

Converts a base64 string to the hexadecimal equivalent.

Syntax

security.HexBinary.FromBase64(
   val64 STRING )
  RETURNS STRING
  1. val64 defines a string encoded in base64.

Usage

This method decodes the given base64 string and returns it in its hexadecimal form.

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