z/OS Debugger built-in functions

z/OS® Debugger provides you with several built-in functions which allow you to manipulate variables. All z/OS Debugger built-in function names begin with a percent sign (%).

The table below summarizes the z/OS Debugger built-in functions. Unless otherwise indicated, the functions can be used with all supported languages.

z/OS Debugger built-in function Returns
%CHAR (assembler, disassembly, and LangX COBOL) Character value of an operand.
%DEC (assembler, disassembly, and LangX COBOL) Decimal value of an operand.
%GENERATION (PL/I) A specific generation of a controlled variable
%HEX Hexadecimal value of an operand
%INSTANCES (C, C++, and PL/I) Maximum value of %RECURSION for a block
%RECURSION (C, C++, and PL/I) An automatic variable or a parameter in a specific instance of a recursive procedure
%WHERE (assembler, disassembly, and LangX COBOL) A string indicating the address of the operand.