Home
History
Products
VIP
|
|
GENERAL
The general VIP command format is:
$ VIP [subcommand] [parameters] [/qualifiers]
If you do not specify a VIP subcommand (an optional parameter), the
VIP> prompt is returned by default.
@file_spec:
Executes VIP commands from the specified file. The file name
specified after the @-character may not contain any @file_spec
commands. The default file type is .VIP.
Format:
@file-spec
Logical_Names:
Logical name To define...
------------ ----------------------------------------------------
VIP$INIT An initialization file used when you invoke VIP.
The VIP commands in this file will always be executed
before the first specified command. The default file
type is .VIP.
VIP$INPUT The VIP input device. The default is SYS$INPUT.
If you plan to execute a sequence of VIP commands, you
may want to define the VIP$INPUT logical. The VIP
program then takes its input from the file defined by
this logical. The default file type is .VIP.
VIP$OUTPUT The VIP output device. The default is SYS$OUTPUT.
Controls where the output is sent during a VIP command.
By default, the output is sent to the current
SYS$OUTPUT device (usually your terminal). To send the
output to a file or to another terminal, define
VIP$OUTPUT as shown in the next examples:
$ DEFINE VIP$OUTPUT VIP.OUT
or
$ DEFINE/USER VIP$OUTPUT VIP.OUT
or
$ DEFINE VIP$OUTPUT TXA1:
The file specification may not include any wildcard
characters. If you enter a partial file specification
(for example, specifying only a directory), VIP$OUTPUT
is the default file name and .LIS is the default file
type.
The VIP$OUTPUT logical overides the /OUTPUT qualifier.
QUALIFIERS:
/OUTPUT
/OUTPUT[=name]
/NOOUTPUT
Controls where the output is sent during a VIP command. By default,
the output is sent to the current SYS$OUTPUT device (usually your
terminal). To send the output to a file or to another terminal, use
the /OUTPUT qualifier followed by a file or terminal specification.
The file specification may not include any wildcard characters. If
you enter a partial file specification (for example, specifying only
a directory), VIP$OUTPUT is the default file name and .LIS is the
default file type.
Instead of the /OUTPUT qualifier, you also may specify the VIP$OUTPUT
logical. The VIP$OUTPUT logical overides the /OUTPUT qualifier.
EXAMPLES:
1. In this example all output is sent to file OUT.TXT. When the VIP
command has finished, the output stream prior to the VIP command is
restored.
$ VIP SHOW SYSTEM/OUTPUT=OUT.TXT
2. In this example VIP$INPUT is defined:
$ CREATE MY_VIP_COMMANDS.VIP
SHOW CLUSTER
^Z
$ CREATE INPUT.INP
SHOW SYSTEM/USER=JONES/SHOW=ADDITIONAL=IMAGE
@MY_VIP_COMMANDS
SHOW OPEN_FILES/USER=JONES/DEVICE=DKA100
^Z
$ DEFINE VIP$INPUT INPUT.INP
$ VIP
All VIP commands present in INPUT.INP will be executed successively.
3. In this example VIP$INIT is defined. During the VIP command no
general reply or mail messages will be displayed at the terminal.
The process priority will be set to 8.
$ CREATE MY_INIT_COMMANDS.VIP
SET BROADCAST=(NOGENERAL,NOMAIL),PRIORITY=8
^Z
$ DEFINE VIP$INIT MY_INIT_COMMANDS.VIP
$ VIP MONI SYSTEM/USER=JONES

|