Changing the point of view

The point of view is usually the currently executing block. You can get to inaccessible data by changing the point of view using the SET QUALIFY command with the following operand.
load_name::>cu_name:>block_name
Each time you update any of the three z/OS® Debugger variables %CU, %PROGRAM, or %BLOCK, all four variables (%CU, %PROGRAM, %LOAD, and %BLOCK) are automatically updated to reflect the new point of view. If you change %LOAD using SET QUALIFY LOAD, only %LOAD is updated to the new point of view. The other three z/OS Debugger variables remain unchanged. For example, suppose your program is currently suspended at loadx::>cux:>blockx. Also, the load module loadz, containing the compile unit cuz and the block blockz, is known to z/OS Debugger. The settings currently in effect are:
  • %LOAD = loadx
  • %CU = cux
  • %PROGRAM = cux
  • %BLOCK = blockx
If you enter any of the following commands:
SET QUALIFY BLOCK blockz;

SET QUALIFY BLOCK cuz:>blockz;

SET QUALIFY BLOCK loadz::>cuz:>blockz;
the following settings are in effect:
  • %LOAD = loadz
  • %CU = cuz
  • %PROGRAM = cuz
  • %BLOCK = blockz

If you are debugging a program that has multiple enclaves, SET QUALIFY can be used to identify references and statement numbers in any enclave by resetting the point of view to a new block, compile unit, or load module.