Inspect Manual
Using Inspect With COBOL and SCREEN COBOL
Inspect Manual—429164-006
10-12
DISPLAY
If you set a data breakpoint within a group item, and your program moves a value
to the group, the break event occurs before the move operation is complete
because COBOL always uses byte moves for group items.
DISPLAY
The DISPLAY command does not display FILLER items in records unless you use
the WHOLE clause.
There are significant differences between the PIC clause of the DISPLAY
command and the COBOL PICTURE clause. The PICTURE clause is part of a
data item's definition, while the PIC clause is simply a template for formatting a
data item. Also, the PIC clause is case-sensitive, excludes constructs such as
parenthesized repetition counts, and does not perform floating replacement. In
fact, the only characters that have special meaning in the mask string you provide
in DISPLAY's PIC clause are:
V (uppercase V only
Z (uppercase Z only)
9
The formatter displays all other characters (including “z” and “v”) exactly as they
appear in the mask string.
In addition, the mask string must be enclosed in either quotes (") or apostrophes
('). To include a quote in a quote-delimited mask string, use a pair of quotes. To
include an apostrophe in an apostrophe-delimited mask string, use a pair of
apostrophes.
The DISPLAY command can display COBOL items that have been declared in the
Extended-Storage Section. To display these items, use the standard DISPLAY
command syntax described in Section 6, High-Level Inspect Commands.
HELP
You can ask for help on the definitions of Inspect command parameters. Therefore,
you can find out what Inspect recognizes as a COBOL data location, a COBOL code
location, or a COBOL expression.
INFO IDENTIFIER
If you request a listing of the attribute of an unqualified data name, Inspect will list
all possible instances of that data name in the current scope.
The data types reported by Inspect are not designated in terms of any one
language. Therefore, COBOL computational items of up to four digits are marked
BIN SIGN, while COBOL alphanumeric items are marked CHAR. A number of
data types in Inspect are directly COBOL oriented, such as NUM LD EM (numeric,
sign leading, embedded) and NUM TR SP (numeric, sign trailing, separate).