Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-39
Default Value
SG
specifies that the 16-bit expression is interpreted as a System Global address.
SG is not allowed with 32-bit addresses.
identifier
specifies a variable defined by the program. The form of identifier allowed is
any legal variable specification, such as i, struct.r1.r2, or a[30].
For more information, see Using the TYPE Clause on page 6-75.
formatting-clause
specifies the format Inspect should use when displaying each item. Inspect
provides three format clauses: FORMAT, IN, and PIC. For more information about
these clauses, see Using the FORMAT Clause on page 6-67, Using the IN Clause
on page 6-70, and Using the PIC Clause on page 6-73.
Default Value
If you do not specify formatting-clause, Inspect displays numeric values in the current
output radix and delimits character and string values with quotes (").
Usage Considerations
Displaying Items in a Running Program
If you enter a DISPLAY command while the current program is running, the data
values that Inspect displays might not be valid.
Displaying FILLER Data Items
Inspect does not display FILLER elements in group data items unless you use the
WHOLE clause, the FOR clause, or one of the formatting clauses.
Displaying Records
If the item being displayed is a record or structure, the item name and its
components are displayed. Components follow the record name and are indented
to denote inclusion. For example, assume this COBOL definition:
01 person-name.
03 last-n PICTURE X(20).
03 rest PICTURE X(20).
Inspect then displays this item as follows:
Displaying Arrays
-PRG-DISPLAY person-name
PERSON-NAME =
LAST-N = "DINGERDORFF "
REST = "MOSTOK R. "