The following examples present different ways to code the HSENDCMD
command.
Note: Any values specified here are only examples and should
not be interpreted as the values to be used for your system.
Sending an authorized command with WAIT from a TSO terminal
In this example, the ADDVOL command is issued from a TSO terminal.
Control returns to the user when the command is completed. The syntax
of the ADDVOL command does not change when it is used with the HSENDCMD
command.
HSENDCMD WAIT ADDVOL VOL004 UNIT(3390) +
PRIMARY(NOAUTOMIGRATION AUTOBACKUP NOAUTORECALL)
Sending an authorized command from a TSO terminal
In this example, the ADDVOL command is issued from a TSO terminal.
Control is returned to the user before the command completes. The
syntax of the ADDVOL command does not change when it is used with
the HSENDCMD command.
HSENDCMD ADDVOL VOL004 UNIT(3390) +
PRIMARY(NOAUTOMIGRATION AUTOBACKUP NOAUTORECALL)