This command runs a job.
zos run jobname [--priority=] [--as=] [--watch] [--env=] [--start=] [--listen] [--detail] [--policy=] [--policyfile] [--trace]
The user must enter the name of the job he or she wants to run.
Specifies the priority level for a job. The user must enter a value with this option.
Specifies the name of the job instance. The user must enter a value with this option.
Lets user watch job log messages in real time.
Lets user use the local environment for running a job or to use an optional list. The user must enter a value with this option.
Specifies the start time for a job. The user must enter a value with this option.
Lets user listen for job messages until the job is completed.
Lets user display detailed message information.
Lets the user specify the policy to be associated with this job. The user must enter a value with this option. The job must be deployed.
Lets the user specify the policy file to be associated with this job. The user must enter a value with this option.
Lets the user turn on event tracing for this job.
Specifies the terminal width for formatting. The user must enter a value with this option.
Displays a help message for this operation.
Turns on debug output during this operation.
Turns on verbose output during this operation.
Force TLS/SSL encryption [on|off]. The user must enter a value with this option.
Port number for TLS/SSL connections. The user must enter a value with this option.
Force acceptance of new TLS server certificates.
Force acceptance of all TLS server certificates.
To run the job called unittest with the highest priority and another parameter, the user would use the following command:
zos run unittest --priority=highest testno=test57
To run the job called unittest passing the PATH environment variable only, the user would use the following command:
zos run unittest --env=PATH
To run the job called unittest passing a local policy file, the user would use the following command:
zos run unittest --policyfile=/tmp/mypolicy.policy
To run the job called unittest at 5:01 p.m., the user would use the following command:
zos run unittest --start="5:01 PM"
NOTE:The date and time values should be specified as shown in the example—in the format MM/DD/YY hour:minute AM/PM and enclosed in quotes—"11/21/08 5:01 PM".