TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-383
#SSMOVE Built-In Function
source-var
is the name of the source message buffer variable level, from which the specified
token or tokens are to be copied. source-var must be a writable STRUCT that
has been initialized with #SSINIT.
dest-var
is the name of the destination message buffer variable level, to which the specified
token or tokens are to be copied. dest-var must be a writable STRUCT that has
been initialized with #SSINIT.
token-id
is a token code or a token map that identifies the token to be moved. That token
must be present in the source buffer. The token ID can refer to a simple token, an
extensible structured token, or a list token. If token-id identifies a list token,
#SSMOVE moves that token, its associated end-list token, and all tokens in
between.
Result
#SSMOVE returns a numeric status code indicating the outcome of the SSMOVE
procedure, as follows:
If the status code is zero (no error), it is followed by a space and the count of the token
values or lists moved.
Code Condition
0 No error
-1 Invalid buffer format
-2 Invalid parameter value
-3 Missing parameter
-4 Invalid parameter address
-5 Buffer full
-6 Invalid checksum
-7 Internal error
-8 Token not found
-9 Invalid token code or map
-10 Invalid subsystem ID
-11 Operation not supported
-12 Insufficient stack space