Technical data

Using OpenVMS System Management Utilities and Tools
2.3 Using SYSMAN to Centralize System Management
SYSMAN> SET PROFILE/PRIVILEGES=SYSPRV
SYSMAN> SHOW PROFILE
%SYSMAN-I-DEFDIR, Default directory on node NODE21 -- WORK1:[MAEW]
%SYSMAN-I-DEFPRIV, Process privileges on node NODE21 --
TMPMBX
OPER
NETMBX
SYSPRV
2.3.6.2 Changing Your Default Device and Directory
Use the SET PROFILE/DEFAULT command to reset the default device
and directory specification for your process and all server processes in the
environment.
Most often, the default device and directory specified in your UAF record is a
first-level directory in which you create and maintain files and subdirectories.
SYSMAN uses this default device and directory name when resolving file
specifications. It also assigns the default device and directory name to any
files that you create during a session.
In some cases, you might need to change the default device and directory in your
SYSMAN profile. For example, you might have a directory containing command
procedures as well as some system management utilities that require the default
directory to be SYS$SYSTEM.
Example
The following example sets the default device and directory to
DMA1:[SMITH.COM]:
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> SET PROFILE/DEFAULT=DMA1:[SMITH.COM]
2.3.7 Setting DCL Verification
Use the SET PROFILE/VERIFY command to turn on DCL verification, which
displays DCL command lines and data lines as they execute.
SYSMAN can execute DCL commands using the DO command. By default,
SYSMAN DCL verification is turned off.
Example
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> SET PROFILE/VERIFY
2.3.8 Executing DCL Commands from SYSMAN
The SYSMAN command DO executes DCL command procedures and SYSMAN
command procedures on all nodes in an OpenVMS Cluster environment. In an
OpenVMS Cluster environment or in any environment with multiple nodes, you
enter a set of commands once, and SYSMAN executes the commands sequentially
on every node in the environment. SYSMAN displays the name of each node as it
executes commands, or an error message if the command fails.
If a node does not respond within a given timeout period, SYSMAN displays a
message before proceeding to the next node in the environment. You can specify
a timeout period with the SET TIMEOUT command.
Each DO command executes as an independent subprocess, so no process context
is retained between DO commands. For this reason, you must express all DCL
commands in a single command string, and you cannot run a procedure that
requires input.
2–18 Using OpenVMS System Management Utilities and Tools