%CHAR (assembler, disassembly, and LangX COBOL)
Returns the EBCDIC character value of an operand.
- expression
- A valid assembler, disassembly, or LangX COBOL expression.
Examples
Assuming that R6 contains the address of a character string of length five, enter the following command:
LIST %CHAR(_STORAGE(%GPR6+1::5))
The Log window displays the corresponding character string.
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- LIST expression command