Delete Job Definition
Usage
zowe ca7 job-definition delete-job [options]
Required Options
-
--job
(string)
-
--type
(string)
- The type of deletion.
Valid values are:
DELETE
Deletes a job and its associated data from the database (documentation, schedules, and so forth).DD
Same as DELETE, but deletes any data sets that this job references if the data sets have no users and
no documentation, and do not cause job triggering.
This includes all virtual resources that are connected to the job.PURGE
Same as DD, but also deletes job trigger definitions that trigger the job being deleted,
job requirement definitions that require the job being deleted;
and, if the WA Restart Option interface is active, deletes the WA Restart Option
CMT member for the job being deleted.
CA7 Connection Options
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--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
-
Delete Job named JOBA:
zowe ca7 job-definition delete-job --job JOBA --type DELETE