Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-60
Examples
4. This shows a legal and illegal system value. If the system number is not legal or if
it does not match a system number on the current network, Inspect displays
5. This example illustrates using the VALUE clause with the TYPE clause for
TIMESTAMP48.
6. This example illustrates using the VALUE clause with the TYPE clause for
TIMESTAMP64.
7. This example illustrates using the VALUE clause with the TYPE clause for
TOSVERSION.
8. This example illustrates using the VALUE clause with the TYPE clause for
USERID.
9. This shows using TYPE LOCATION with and without the space ID. If you omit the
space ID, Inspect uses the current space. You must be debugging a program to
use TYPE LOCATION.
10. This example illustrates the displaying of a string constant and an expression.
11. This example illustrates displaying a string.
--DISPLAY VALUE 42 TYPE SYSTEM
\SYS
--DISPLAY VALUE 12345 TYPE SYSTEM
\??
--DISPLAY VALUE 0,8,62563,12864 TYPE TIMESTAMP48
1987-03-09 09:00:00.00
--DISPLAY VALUE 748,50977,49935,40960 TYPE TIMESTAMP64
1966-09-08 21:00:00.000.000
--DISPLAY VALUE 19978 TYPE TOSVERSION
N10
--DISPLAY VALUE 65535 TYPE USERID
255,255 SUPER.SUPER
-PROGRAM-DISPLAY VALUE 188 TYPE LOCATION
#CCL.1, #CCL.#700(\BONDS.$DEBUG.CCLSRC.UMCCL), #CCL + %0I
-PROGRAM-DISPLAY VALUE 188 TYPE LOCATION UC.1
#SHOW^TERM.1, #SHOW^TERM.#4919(\BONDS.$DEBUG.CCLSRC.TMCCLSHW), #SHOW^TERM +
%0I
-PROGRAM-DISPLAY ("A") in OCTAL
%101
-PROGRAM-DISPLAY (%777) in BINARY
0000000111111111
-PROGRAM-DISPLAY "Hello World"
"Hello World"