Entering comments in z/OS Debugger commands

z/OS® Debugger lets you insert descriptive comments into the command stream (except within constants and other comments); however, the comment format depends on the current programming language. The entire line, including comments and delimiter, must not extend beyond column 72.

For C++ only: Comments in the form "⁄⁄" are not processed by z/OS Debugger in C++.
  • For all supported programming languages, comments can be entered by:
    • Enclosing the text in comment brackets "⁄*" and "*⁄". Comments can occur anywhere a blank can occur between keywords, identifiers, and numeric constants. Comments entered in this manner do not appear in the session log.
    • Using the COMMENT command to insert commentary text in the session log. Comments entered in this manner cannot contain embedded semicolons.
  • When the current programming language setting is COBOL, comments can also be entered by using an asterisk (*) in column 7. This is valid for file input only.
  • For assembler and disassembly, comments can also be entered by using an asterisk (*) in column 1.

Comments are most helpful in file input. For example, you can insert comments in a USE file to explain and describe the actions of the commands.