SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-135
WRITE
reply-err
specifies an integer expression that indicates an optional reply-error value.
For example, this WRITE statement returns an EOF error to the FUP taskid:
WRITE fup, "", 1;
error
specifies that the result of the WRITE statement is programmatically determined by
setting an integer variable to one of these values:
CACHE index
stores the string in the cache associated with the taskid rather than actually writing
it to the task in real time. Specifying an asterisk (*) rather than taskid causes the
CACHE option to access the SeeView free window message cache rather than a
taskid cache.
index
specifies the ordinal record index in the cache. CACHE indexes 0, 1, 2, ...,
correspond to the first, second, third, ..., records in cache, and indexes -1, -2, -
3, ..., correspond to the last, second from last, third from last,..., records in
cache.
The CACHE index options AFTER, BEFORE, DELETE, and UPDATE define
how the data is stored in cache. BEFORE is the default.
AFTER
indicates that the data defined by string is stored in the cache element
after the CACHE index.
BEFORE
indicates that the data defined by string is stored in the cache element
before the CACHE index.
DELETE
indicates that the element defined by CACHE index is deleted. In this
case, string has no effect, but must be supplied; for example “”.
0 if data was written without an error.
40 if a write timeout occurred; process never prompted. (See the TIMEOUT option of
the TASK
statement.)
-5 if the task has stopped.
-6 if the task has ended abnormally (abended).