SPI Programming Manual (H06.24+, J06.13+)

SPI Programming in TACL
SPI Programming Manual427506-007
8-28
#SSMOVE
COUNT count
gives the maximum number of token values to copy, unless token-id is a list
token; in the latter case, it gives the maximum number of lists to copy. If you do
not supply this option,
count defaults to 1.
DINDEX dest-index
if dest-index is greater than zero, identifies the first occurrence of token-
id to be replaced in the destination buffer. A value of 1 specifies that
replacement should start with the first occurrence of the token code, a value of
2 specifies the second occurrence, and so on. If the specified occurrences are
not found in the destination buffer, the tokens being copied are added to the
end of the buffer.
if
dest-index is zero or if you do not supply this option, directs #SSMOVE to
add the tokens from the source buffer to the end of the destination buffer.
SINDEX source-index
if source-index is greater than zero, identifies the first occurrence of
token-id to be copied from the source buffer. (One or more than one
occurrence can be copied, depending on the value of
count.) A source-
index value of 1 specifies that the copy is to start with the first occurrence of
the token code, a value of 2 specifies the second occurrence, and so on.
if
source-index is zero or if you do not supply this option, directs #SSMOVE
to start with the next occurrence of the token code after the current position in
the source buffer.
SSID ssid
is a subsystem ID, as described in Section 4, ZSPI Data Definitions, that
qualifies the token ID. If not supplied or equal to zero (0.0.0),
ssid defaults to
the subsystem ID of the current list, or if the current position is not in a list, then
to the subsystem ID specified in the SPI message header (ZSPI^TKN^SSID).
The version field of
ssid is not used in searching the source buffer.
source-var
is the name of the source message buffer variable—that is, the SPI buffer variable
from which the specified token or tokens are to be copied.
dest-var
is the name of the destination message buffer variable—that is, the SPI buffer
variable to which the specified token or tokens are to be copied.
token-id
is a token code or a token map that identifies the token to be copied. This token
must be present in the source buffer. The
token-id can identify a simple token,