mx (mask ASCII to hex)

mx (mask ASCII to hex)


must input Index Level my (mask hex to ASCII)
Syntax
Category Processing Codes
Type Processing Code
Description converts all ASCII characters in a given value to their corresponding ASCII-hexadecimal equivalent.

The characters are converted one at a time to 2-digit hexadecimal numbers.

The "my" code is the inverse of the "mx" code.
Options
See Also ICONV mcdx (mask decimal to hex) output-conversion processing codes mcxd (mask hex to decimal) my (mask hex to ASCII) Processing Codes
Example The following table illustrates several mx conversions:

data      conversion   output
----      ----------   ----------
123          mx        313233
abc          mx        616263
a dog        mx        6120646F67
Warnings
Compatibility D3 7.0 AP R83
must input Index Level my (mask hex to ASCII)