SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-137
WRITE
LINESENT var
indicates that the symbolic variable represented by var should be set to the
value of the number of lines actually sent. This indicates the number of lines
actually written from cache.
This provides a mechanism for sending multiple blocks of data from a large
cache.
MAXBYTES cnt
indicates the maximum total bytes that can be written from the FROM cache.
The default is 8192. You can increase or decrease the size. The maximum
value cannot be larger than either the configured value of the startup PARAM
POOLPAGES or the WRITE taskid reply buffer size.
MORE string
indicates the string of flag characters to be placed at the start of the buffer if
the reply buffer is full. You can use this option to indicate to the requester that
more data remains to be sent. For example, the response buffer from this
example starts off “All Done if all of mycache is sent. Otherwise the response
buffer starts with “Not Done.”:
When MORE string contains six pound or octomorph sign (######)
characters, these characters are used as a formatting mask. If more data
remains to be sent, the masked portion of the string contains the cache index
of the next cache element to be transferred. This option allows multiple
requesters to share a context-free SeeView server by passing the cache index
as part of the request.
For example, the response buffer from this script starts with the header string
“TACL status (complete buffer)” if all of the TACL cache was returned in the
single write.
Otherwise, the response buffer starts with a header string indicating that the
response continues at a given cache index; for example, “TACL status
(continue 000098)”, where 000098 indicates that the response continues at
TACL cache index 98.
WRITE gui,"All Done" FROM mycache
MORE "Not Done";
DELETE tacl!; { Clear tacl cache
WRITE tacl,"status 0"; { Do status to tacl
WRITE tacl,""; { wait for response
WRITE gui, "TACL status (complete buffer)"
FROM tacl
MORE "TACL status (continue ######)";