5.8.5 CONVERT
The CONVERT command converts a HEX encoded value to a BASE64 encoded value and visa versa.
The converted value is returned in the command message response field.
Syntax:
Command |
Keyword |
Value |
Developer notes |
CONVERT |
VALUE |
value |
Required: Value to be converted. |
ENCODING |
*HEX |
Required. Encoding of the value is HEX. |
|
*BASE64 |
Encoding of the value is BASE64. |
Example
CONVERT VALUE(42415345363420656E636F646564) ENCODING(*HEX)
CONVERT VALUE(NDI0MTUzNDUzNjM0MjA2NTZFNjM2RjY0NjU2NCA=) ENCODING(*BASE64)