z/OS Debugger commands that resemble C and C++ commands
z/OS® Debugger's command language is a subset of C and C++ commands and has the same syntactical requirements. z/OS Debugger allows you to work in a language you are familiar with so learning a new set of commands is not necessary.
The table below shows the interpretive subset of C and C++ commands recognized by z/OS Debugger.
Command | Description |
---|---|
block ({}) | Composite command grouping |
break | Termination of loops or switch commands |
declarations | Declaration of session variables |
do/while | Iterative looping |
expression | Any C expression except the conditional (?) operator |
for | Iterative looping |
if | Conditional execution |
switch | Conditional execution |
This subset of commands is valid only when the current programming language is C or C++.
In addition to the subset of C and C++ commands that you can use is a list of reserved keywords used and recognized by C and C++ that you cannot abbreviate, use as variable names, or use as any other type of identifier.
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- C reserved keywords
- z/OS XL C/C++ Language Reference