Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

HEXIMAGE

HEXIMAGE returns a character string that is the hexadecimal representation of the storage at a specified location.

Read syntax diagramSkip visual syntax diagram>>-HEXIMAGE(p,n-+----+-)---------------------------------------><
                '-,z-'
 

HEXIMAGE(p,n) returns a character string that is the hexadecimal representation of n bytes of storage at location p. Its length is 2 * n..

HEXIMAGE(p,n,z) returns a character string that is the hexadecimal representation of n bytes of storage at location p with character z inserted between every set of eight characters in the output string. Its length is (2 * n) + ((n - 1)/4).

p
Restricted expression that must have a locator type (POINTER or OFFSET). If p is OFFSET, it must have the AREA attribute.
n
Expression. n must have a computational type and is converted to FIXED BINARY(31,0).
z
If specified, z must have the type CHARACTER(1) NONVARYING.

For examples of the HEXIMAGE built-in function, see HEX.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)