Inspect Manual

High-Level Inspect Commands
Inspect Manual—429164-006
6-57
Examples that Display SPI Tokens and Lists
4. This command displays a token within an error list that is also within a second error
list in SPI-BUFFER. The first POSITION parameter positions Inspect within the first
error list, and the second POSITION parameter positions Inspect within the second
error list. The token ZSPI-TKN-ERROR shows file-system errorĂ¾11 (file is not in
the directory):
5. This command displays a data list from SPI-BUFFER. The display includes all
tokens within the list; each token is indented two spaces:
6. This command displays a user-defined token from SPIBUFFER using a data type
named MESSAGE-DEF:
7. This command displays a user-defined token within an error list from SPI-BUFFER.
The subsystem ID of the token is different from the subsystem ID of the error list,
and the subsystem ID of the error list is different from the default subsystem ID for
the buffer.
The POSITION clause directs Inspect to find the token within the error list, and the
SSID clause specifies the subsystem ID for the token and error list:
-OBJ-DISPLAY spi-buffer:zspi-tkn-error &
POSITION zspi-tkn-errlist, zspi-tkn-errlist
TANDEM.FUP.C10 (28,14,-251) = TANDEM.68.C10 11
-OBJ-DISPLAY spi-buffer:zspi-tkn-datalist
TANDEM.FUP.C00 (37,0,-253) - DATA LIST
TANDEM.FUP.C00 (25,32,2) = \SYS1.$DSK1.PAY.ACCTS
TANDEM.FUP.C00 (11,2,0) = 0
TANDEM.FUP.C00 (39,0,-254) - END LIST
-OBJ-DISPLAY spi-buffer:cust-abend-message AS message-def
MESSAGE-DEF =
MESSAGE-LENGTH = 30
MESSAGE-TEXT = "$BM01: ERROR - PROCESS ABENDED"
-OBJ-DISPLAY spi-buffer:cust2-err-ipc-error SSID "CUST2.600.0" &
POSITION cust1-tkn-errlist SSID "CUST1.500.0"
CUST2.600.0 (28,14,6251) = CUST2.600.0 200