Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-50
Displaying SPI Data
spi-token
specifies the location of the SPI token or list. The syntax for spi-token is:
data-location : token-spec [ TYPE spi-type ]
[ POSITION token-spec [ , token-spec ]... ]
The data-location parameter specifies the location of the SPI buffer containing the
token or list, and the TYPE clause specifies how you want Inspect to interpret and
format the buffer.
For the SPI types that Inspect supports refer to the spi-type discussion above.
The token-spec parameter identifies the token or list for Inspect to display. If you
specify a list token, Inspect displays all tokens in the list.
The POSITION clause specifies the position of the token in the buffer. When used
with the POSITION clause, token-spec provides a path to a token that is within
one or more lists.
token-spec
identifies the token or list for Inspect to display. If you specify a list token,
Inspect displays all tokens in the list. The syntax for token-spec is:
token-code [ : token-index ] [ SSID ssid-string ]
The token-code parameter is an integer that specifies the token type and token
number of the token to display; it can be a 32bit value or a data location
containing a 32-bit value. Inspect passes this value to the SSGET or EMSGET
procedure.
For more information about command and response message buffers, see the
DSM/SCM Event Management Programming Manual.
The token-index parameter is an integer that specifies a specific
occurrence of the token indicated by token-code; it can be a 16-bit value or a
data location containing a 16bit value. Inspect passes token-index to an
SSGET or EMSGET procedure.
Here are the possible values for token-index:
Inspect displays the next occurrence of the token after the current position
in the buffer. The current position marks the last token selected from the
buffer by the application with an SSGET procedure. For more information
about the current position, see the DSM/SCM Event Management
Programming Manual.
Inspect displays the nth occurrence of the token.
If you do not specify a token-index, Inspect displays all occurrences of the
token.