TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-376
#SSGETV Built-In Function
#SSGETV Built-In Function
Use #SSGETV to obtain binary token values from an SPI buffer and put them into a
STRUCT. You can use #SSGETV with any type of token (you must use #SSGETV with
tokens of type ZSPI^TYP^STRUCT and extensible structured tokens).
option
is any of these:
COUNT count
INDEX index
SSID ssid
These options are the same as those described under #SSGET, substituting
token-id for all references to token-code.
buffer-var
is the same as that described for #SSGET.
get-op
is one of these:
token-id
is either a token code or a token map. It directs #SSGETV to return the token
value or values associated with token-id.
If token-id is a token that marks the beginning of a list, #SSGETV selects
the list so that subsequent calls can retrieve tokens within the list. If token-
code is ZSPI^TKN^ENDLIST, #SSGETV pops out of the list.
ZSPI^TKN^COUNT c-token-id
ZSPI^TKN^LEN l-token-id
ZSPI^TKN^NEXTCODE
ZSPI^TKN^NEXTTOKEN
ZSPI^TKN^OFFSET o-token-id
are the same as those in #SSGET, but #SSGETV returns results in result-
var instead of in the function result.
#SSGETV [ / option [ , option ] ... / ] buffer-var get-op
result-var
Note. You must supply appropriate token code definitions. TACL supports the special
semantics for only those SPI special token codes shown. Any other token codes are
assumed to adhere to standard semantics.