Native Inspect Manual (H06.13+, J06.03+)
GREATER
NOT GREATER
LESS THAN
NOT LESS THAN
EQUAL TO
NOT EQUAL TO
• Conditional expressions use the following logical operators:
AND
OR
• The following symbols are supported:
>
<
<>
<=
>=
If a variable is specified as the result of an expression, Native Inspect stores as much of the result
as possible as allowed by the variable’s type.
Native Inspect does not allow the use of the following in expressions:
• Intrinsic functions.
• Class conditions.
• Sign conditions.
• Switch-status conditions.
• Abbreviated conditions.
Displaying Data Item Types
You display the type of a COBOL data item in Native Inspect by using the ptype and whatis
commands. Wherever possible, types are displayed as declared in the COBOL program, with
these exceptions:
• Level 88 condition names are shown as type bool, since there is no corresponding COBOL
type.
• The PICTURE string shown for edited items is PIC X(length).
Performing Machine-Level Debugging
Native Inspect provides a full set of commands for machine-level debugging. These commands
enable you to perform such low-level tasks as examining memory, examining registers, and listing
machine-level instructions. One such command, the x command, provides a special form for use
with COBOL programs. The x command, when used with the ADDRESS OF option, is useful for
generating memory dumps. This command has the following form:
x /format ADDRESS OF variable
where format specifies a repeat count, the format to use, and the size of the variable to be
examined; and variable specifies the starting address of the memory dump.
For more information about the x command, see x Command (page 125)
Controlling Execution
You control execution of a program by setting breakpoints at locations in the program where you
want execution to be suspended. As discussed previously, you can identify locations in a COBOL
54 Using Native Inspect With COBOL Programs










