LIST NAMES LABELS command (remote debug mode)

Displays the names of all sections and paragraphs in a COBOL program, and the names of all instruction labels in an assembler program.

Read syntax diagramSkip visual syntax diagramLISTNAMESLABELS;

Usage Notes

  • Use the Debug Console Command line to enter this command.
  • This command displays the labels in the current executing program.
  • For Enterprise COBOL for z/OS® Version 5, if you specify the LIST NAMES LABEL command for a program with nested blocks or multiple programs, only the labels in the current block are displayed.

Examples

If you want to display the names of all sections and paragraphs in the current program in COBOL, specify the following commands:

LIST NAMES LABELS;

EQA4837I The following LABELS are known in IBCD590
PARA-IBCD590
L100
L101