Native Inspect Manual (H06.07+)
Using Native Inspect With COBOL Programs
Native Inspect Manual—528122-006
3-6
Displaying Level 88 Condition Names
Displaying Level 88 Condition Names
Native Inspect displays Level 88 condition names as one of the values ‘T’ or ‘F’. The
value displayed depends on the value of the variable to which the condition belongs.
For example, consider the following declaration:
77 VAR PIC S99 VALUE 1.
88 COND-1 VALUE 1.
88 COND-2 VALUE -1.
The following Native Inspect commands display the values indicated:
Displaying Argument Values
By default, Native Inspect displays only the addresses of program and function
arguments when a breakpoint is encountered, a backtrace is done, or execution steps
into a function. To display the actual argument values on the occurrence of any of
these events, specify the command:
set print cobol-arg-values on
Handling of REDEFINES and RENAMES
Native Inspect treats variables named in a REDEFINES or RENAMES clause the
same as other variables in the record. Thus, when Native Inspect displays a record,
the REDEFINE and RENAME variables are also shown. For example, consider the
following declaration:
01 REDEF.
02 NAME PIC A(30).
02 OTHER-NAME REDEFINES NAME.
03 FIRST-NAME PIC A(20).
03 LAST-NAME PIC A(10).
66 FNAME RENAMES FIRST-NAME.
66 LNAME RENAMES LAST-NAME.
The command print REDEF displays all items in the record, including
OTHER-NAME, FNAME, and LNAME:
NAME=...
OTHER-NAME=
FIRST-NAME=
LAST-NAME=...
FNAME=...
LNAME=...
print COND-1 displays the value ‘T’ because the value of COND-1
matches the value of VAR.
print COND-2 displays the value ‘F’.
print VAR displays the actual value stored in VAR (in this case, 1).










