Submit a jobstream to the plan.
Usage
zowe workload-automation submit jobstreaminplan [options]
Required Options
Options
-
--starttime | --st (string)
- Start time of the jobstream.
-
--holdall | --ha (boolean)
- Hold all jobs in jobstream submitted into the plan.
-
--variabletable | --vt (string)
- Variable table associated to the jobstream submitted into the plan.
-
--jclvariables | --jv (array)
- A pair composed by variable name and value to be replaced in the JCL. Must be a promptable variable.
workload-automation Connection Options
-
--host | -H (string)
- The Z connector server host name or API ML server host name
-
--port | -P (number)
- The Z connector server port or API ML server port
-
--user | -u (string)
-
--password | --pwd (string)
-
--engine | --eng (string)
- Name of the engine, as defined on the Z connector
-
--base-path | --bp (string)
- Base path of your API mediation layer instance. If a base path is specified, the plug-in connects to API ML. Specify this value according to the yaml static file added to API ML
-
--reject-unauthorized | --ru (boolean)
Profile Options
Base Connection Options
-
--token-type | --tt (string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value | --tv (string)
- The value of the token to pass to the API.
-
--cert-file (local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file (local file path)
- The file path to a certificate key file to use for authentication
Examples
-
Submit a jobstream in the current plan whose name is 'myjobstream' with the specified start time:
zowe workload-automation submit jobstreaminplan --name myjobstream --starttime 2018-10-17T19:00:00
-
Submit a jobstream in the current plan whose name is 'myjobstream' with all jobs on hold:
zowe workload-automation submit jobstreaminplan --name myjobstream --holdall
-
Submit a jobstream in the current plan whose name is 'myjobstream' resolving promptable variables in the JCL:
zowe workload-automation submit jobstreaminplan --name myjobstream --jclvariables key1 value1 key2 value2