SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-56
IF
If you do not specify taskid, the command history appears for programs
associated with the current window.
If the window is a free window and no taskid or asterisk (*) is specified, the
history is for SeeView commands.
COUNT cmds
indicates the number of commands to display. The default is one page of
commands based on the size of the current window.
DETAIL
displays the date, time, taskid or program name, and command.
INVERT
displays commands in newest to oldest order rather than the default order of
oldest to newest.
Example
This example demonstrates the use of the HISTORY statement with the DETAIL
option.
IF
The IF statement provides conditional execution of other statements.
HISTORY *, DETAIL
Date Time Task Command
----- ----- -------- -------------------------------------
05/03 15:27 * GOODBYE
05/06 11:31 * HELLO
05/06 11:31 PSMAIL index inbox
05/06 11:32 PSMAIL delete 002
05/06 11:32 PSMAIL delete 005
05/06 11:35 PSMAIL read 003
05/06 11:36 PSMAIL reply
05/06 11:37 FILEINFO i $SYSTEM.SYSTEM.XR*
05/06 11:37 FUP copy $SYSTEM.SYSTEM.XRLSTOOL
05/06 11:37 TACL2 who
05/06 11:38 TACL2 fup info xrlstool
05/06 11:38 TACL2 fup give xrlstool,255,0
05/06 11:42 SEEDIT1 volume $data.scratch
05/06 11:42 SEEDIT1 get memo!
05/06 12:13 SEEDIT1 save
05/06 12:16 * GOODBYE
Task * implies history is for a SeeView command.
IF expression THEN statement [ ELSE statement ];