SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-136
WRITE
UPDATE
indicates that the data defined by string is stored in the cache element
defined by the CACHE index. In other words, it updates the defined
CACHE index.
FROM task | *
indicates which cache to write from. If you specify FROM, data from the cache
associated with the specified task is written to the write taskid. FROM
indicates that the WRITE statement string should have up to 32000 bytes of
data from the specified cache appended to it. This provides an efficient way to
return large amounts of information to SeeView requestor tasks.
task
represents a taskid expression whose cache is written to the task specified
by WRITE taskid.
*
indicates that the write should be from the free message cache.
CACHE index
indicates the starting cache record index from which to start the write. If you do
not specify CACHE, the write begins with the first cache record, such as
CACHE 0.
index
specifies the ordinal record index in the cache. CACHE indexes 0, 1, 2, ...,
correspond to the first, second, third, ..., records in cache, and CACHE
indexes -1, -2, -3, ..., correspond to the last, second from last, third from
last,..., records in cache.
FOR lines
indicates the number of cache records to write. If you do not specify FOR, as
many lines as possible are written. Use the LINESENT option to determine the
number of lines actually written.
DELIMIT string
indicates the string delimiter used to delimit the end of each line of cache text
in the blocked message. The default delimiter is a carriage return character,
DELIMIT #CHAR(13). To change it to any desired delimiter string, such as
carriage-return line-feed, specify DELIMIT #CHAR(13) & #CHAR(10).
COMPRESS
is reserved for future use.