SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-92
SAVE
Or you can use a string expression such as:
VOL #mysubvol
Example
This example shows various methods for using the RUN statement.
SAVE
The SAVE statement saves data associated with a task’s cache memory.
filename
specifies the disk file to which the SAVE statement permanently saves data. The
task's operational status is not affected.
You can specify the file name directly as part of the statement. For example:
SAVE $data.mysubvol.myfile, #taskid
Or you can specify it as a string expression. For example:
SAVE #myfile, #taskid
APPEND
appends the contents of the specified cache to the end of the specified filename.
!
purges the contents of the file represented by filename (if it exists) and saves the
cache as filename.
cache-taskid
specifies that the cache associated with taskid is saved. When you use the
SAVE statement in a script, cache-taskid or * is required.
error
if the return error option is specified and a SAVE file-system error occurs, the
error value is returned in the error integer variable, and no interpreter run-time
error occurs. This enables the programmer to handle error reporting and recovery.
RUN pathcom/STARTUP "$mypm; run program myprog"/ { ok anywhere
RUN pathcom $mypm;run program myproc { ok from sill or menu
RUN tedit myfile
SAVE [filename [APPEND]] [!] [,cache-taskid] [,error]
[, * ]