Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
D2X (Decimal to Hexadecimal) z/OS TSO/E REXX Reference SA32-0972-00 |
|
>>-D2X(wholenumber--+----+--)---------------------------------->< '-,n-' returns a string, in character format, that represents wholenumber, a decimal number, converted to hexadecimal. The returned string uses uppercase alphabetics for the values A–F and does not include blanks. If you specify n, it is the length of the final result in characters; after conversion the input string is sign-extended to the required length. If the number is too big to fit into n characters, it is truncated on the left. The n must be a positive whole number or zero. If you omit n, wholenumber must be a positive whole number or zero, and the returned result has no leading zeros. Here are some examples:
Implementation maximum: The output string may not have more than 500 significant hexadecimal characters, though a longer result is possible if it has additional leading sign characters (0 and F). |
Copyright IBM Corporation 1990, 2014
|