Compaq AA-Q88CE-TE manual Do operating-system-command, DCL-command

Models: AA-Q88CE-TE

1 320
Download 320 pages 38.47 Kb
Page 162
Image 162

DO

DO

Execute an operating system command.

Format

DO [operating-system-command]

Command Qualifiers

Defaults

/CLUSTER

/NOCLUSTER

/NODE=node-list

/NODE=default-node-list

/OUTPUT[=file-spec]

/OUTPUT=stdout

Description

The DO command enables an operating system command to be executed from RTR. By using the /NODE and /CLUSTER qualifiers the command can be executed on one or more remote nodes. (Note that the SPAWN command does not have this ability).

The DO command is only suitable for commands producing line oriented output, use SPAWN if you want to execute a local operating system command that produces screen oriented output (for example, the OpenVMS MONITOR SYSTEM command, or screen mode editors).

Parameters

DCL-command

The operating system command that you want to execute.

Qualifiers

/CLUSTER /NOCLUSTER (D)

Specifies that the command is executed on all the nodes in the cluster.

If neither /NODE nor /CLUSTER is specified then the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered then the command is executed only on the node where the command was issued.

Note: In environments that do not support clustering, use of the /CLUSTER qualifier will cause the relevant command to be executed on the local node only.

/NODE[=node-list] /NODE=default-node-list (D)

Specifies that the command is executed on all nodes specified in node-list. If node-listis omitted then the command is executed only on the node where the command was issued.

/OUTPUT[=file-spec] /OUTPUT=stdout (D)

Specifies that the resulting information is written to the file file-spec. If /OUTPUT or file-specis omitted then the standard or default output is used.

6–86RTR Command Line Interface

Page 162
Image 162
Compaq AA-Q88CE-TE manual Do operating-system-command, DCL-command