Previous Topic: Parameter

Next Topic: Qualifiers

vms_command

Specifies the system-level command to perform when the manager runs the job. You can use a single command (such as SHOW TIME) or a command file containing multiple commands (such as @RENAME.COM). The maximum command length is 1024 characters. The OpenVMS command is required. If you omit a command, the manager prompts you to enter one.

In the case of remote mode jobs, this is the command to be executed on the remote node and operating system, and must follow the correct syntax for the operating system used. Use quotes to enclose a case-sensitive command.

If the command contains the at character (@) or contains spaces, you must enclose it in quotation marks. For example:

$ SCHEDULE CREATE "@RENAME.COM" 
$ SCHEDULE CREATE "COPY FILENAME.EXT"

To include quotation marks within the command, specify two consecutive quotation marks. For example:

SCHEDULE> CREATE "WRITE SYS$OUTPUT ""Hello"""