1.$ CREATE ENV.COM
SET ENVIRONMENT
SHOW PROFILE<Ctrl/Z>
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> @ENV.COM
%SYSMAN-I-DEFDIR, default directory on node --
SYS$SYSROOT:[SYSMGR]
%SYSMAN-I-DEFPRIV, default process privileges on node --
CMKRNL
CMEXEC
SYSNAM
.
.
.
GRPPRV
READALL
SECURITY
SYSMAN>
This example shows how to create a command procedure that sets
the SYSMAN environment to the local node, and displays the
current profile. These commands execute when you enter the
@ENV.COM command.
2.$ CREATE TIME.COM
SET ENVIRONMENT/CLUSTER
CONFIGURATION SHOW TIME<Ctrl/Z>
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> @TIME
System time on node NODE23: 19-JUN-2002 13:32:19.45
System time on node NODE24: 19-JUN-2002 13:32:27.79
System time on node NODE25: 19-JUN-2002 13:32:58.66
This example shows how to create and execute a command
procedure that shows the current date and time for all the
nodes in the cluster.