Use the following twbcmd syntax examples for commands on all platforms except z/OS.
- For job-level commands:
twbcmd <jobid> <command>
where jobId is the identification of the target job, and command is the name of the external command that you want to execute.
- For operator-level commands:
twbcmd <jobid> <operator command Id> <attribute name>=<value>
or, where more than one attribute is specified,
twbcmd <jobid> <operator command Id> <attribute name>=<value>, <attribute name>=<value>
where jobId is the name of the target job, operatorCommandId is the identifier of a Stream operator within that job, attributeName is the attribute you want to employ, and value is the specified rate or periodicity.
On z/OS, use MODIFY syntax as follows.
- For job-level commands:
F <jobid>,APPL=<command>
Quotation marks are not necessary around the command name. If quotes are present, they are sent as part of the command.
- For operator-level commands:
F <jobid>,APPL=<operator name> <attribute name>=<value>
or, where more than one attribute is specified,
F <jobid>,APPL=<operator name> <attribute name>=<value>, <attribute>=<value>