SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-109
TASK
PRIORITY process-priority
specifies the execution priority of the new process. PRIORITY takes effect only
when you are creating the program associated with the taskid. The SeeView
program communicates with $CMON when it is present and tries to use
assignments indicated by $CMON.
QUEUE ON | OFF
determines whether the SeeView program automatically replies to messages from
the specified task.
QUEUE ON indicates that the SeeView program does not automatically reply to
any messages, including simple writes, from the specified task.
QUEUE OFF indicates that the SeeView program automatically replies to any
simple write messages from the task. QUEUE OFF is the default.
Typically, the only time you need to specify QUEUE ON is to assert programmatic
synchronization in a script that performs complex interleaving of WRITE and READ
statements between multiple processes. Communication synchronization in a script
for a single process is always ensured unless WRITE and READ statements are
interleaved with one of more WAIT statements.
SORTED [ "["start [:end ] "]" ]
indicates that cache elements contained in the cache associated with taskid are
to be sorted in ascending order.
The statement TASK taskid SORTED turns on sorting of cache records. A task
statement assertion with no SORTED specification disables the sort property for
the cache associated with taskid.
SORTED can be toggled on or off for a given cache that already contains queued
data. This does not cause the order of queued elements in that cache to be
changed. However, subsequent insertions appear in sorted order (or unsorted
order if toggled off). To avoid confusion, always clear a cache with the DELETE
statement whenever SORTED is toggled on or off except in advanced
programming situations.
When you specify SORTED without a start or end character index specification,
cache elements are sorted based on their entire length.
start
indicates the starting character index in each cache element where sort
comparisons between cache elements are to occur. A valid start value is
from 1 through 132. When you specify start without end, only that one start
character position is used as a basis for sort comparison. For example,
SORTED[5] sorts records based only on the fifth character position in each
cache record.