security.Base64.FromString

Encodes the given string in base64.

Syntax

security.Base64.FromString(
   source STRING )
  RETURNING result STRING
  1. source is the string to be encoded.
  2. result is the base64 encoded string.

Usage

Encodes the given 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).