Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
X2B (Hexadecimal to Binary) z/OS TSO/E REXX Reference SA32-0972-00 |
|
>>-X2B(hexstring)---------------------------------------------->< returns a string, in character format, that represents hexstring converted to binary. The hexstring is a string of hexadecimal characters. It can be of any length. Each hexadecimal character is converted to a string of four binary digits. You can optionally include blanks in hexstring (at byte boundaries only, not leading or trailing) to aid readability; they are ignored. The returned string has a length that is a multiple of four, and does not include any blanks. If hexstring is null, the function returns a null string. Here are some examples:
You can combine X2B with the functions D2X and C2X to convert numbers or character strings into binary form. Here are some examples:
|
Copyright IBM Corporation 1990, 2014
|