Displaying a list of compile units known to z/OS Debugger
This topics describes what to do if you want to know which compile units are known to z/OS® Debugger. This is helpful if you have forgotten the name of a compile unit or the load module that a compile unit belongs to.
To determine which compile units are known to z/OS Debugger, do one of the following options:
- Enter the
LIST NAMES CUS
command. - If you are debugging an assembler or disassembly program, enter
the
SET DISASSEMBLY ON
orSET ASSEMBLER ON
command, then enter theLIST NAMES CUS
command.
After you run the LIST NAMES CUS
command, z/OS Debugger displays
a list of compile units in the Log window. You can use this list to
compose a SET QUALIFY CU
command by typing in the
words "SET QUALIFY CU" over the name of a compile unit. Then
press Enter. z/OS Debugger displays
the command constructed from the words that you typed in and the name
of the compile unit. Press Enter again to run the command.
For example, after you enter the LIST NAMES CUS
command, z/OS Debugger displays
the following lines in the Log window:
USERID.MFISTART.C(CALC)
USERID.MFISTART.C(PUSHPOP)
USERID.MFISTART.C(READTOKN)
If you type "SET QUALIFY CU" over the last line, then
press Enter, z/OS Debugger composes
the following command into the command line: SET QUALIFY CU
"USERID.MFISTART.C(READTOKN)"
. Press Enter and z/OS Debugger runs
the command.
This method saves keystrokes and reduces errors in long commands.
Refer to the following topics for more information related to the material discussed in this topic.
- Related tasks
- Changing which file appears in the Source window