!+ cmd command
The !+ cmd command executes a TSO command on one or more tagged members.
This is a main command.
Syntax
Operands
- label
- A seven character string or pattern.
- tsocmd
- The name of a TSO command.
- parameter_string
- A parameter string to be passed to the command.
Usage notes
A member tag is a non-blank label preceded by + in PROMPT column.
See TAG command for instructions on how to tag members.
!+ is same as ! command operating only on tagged members.
The TSO command is passed the library name (member name) as the first parameter, followed by the volume serial and the rest of specified parameters.
The volume parameter is optional and is either omitted (by default), or included (see above) based on the current DSC customization.
If the tsocmd parameter is not a valid TSO command, a CLIST or REXX EXEC with the same name will be executed.
The ! line command may be used to execute a TSO command on listed member.
When SHOWCMD ON is in effect, you are first prompted with a display of the full command. You can verify and further modify it before execution. You may also enter a QUIT command in order to abort TSO command execution over a group of selected members.
Example
Assuming a current library name of MROTTER.JCL, on volume SCLM09, with tagged members MEMX and MEMY, the following example illustrates the !+ command execution:
!+ * RUN2 Execute RUN2 'MROTTER.JCL(MEMX)' SCLM09.
Execute RUN2 'MROTTER.JCL(MEMY)' SCLM09.
