Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Submitted Change Request (DLTSBMCRQ) command allows you to delete one or more submitted change requests.
Restriction: You can only delete a change request if you are the submitter, or have *JOBCTL special authority. Only change requests with a status of Ended can be deleted.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CRQ | Change request | Element list | Required, Positional 1 |
Element 1: Name | Generic name, name, *ALL | ||
Element 2: Sequence number | 1-999999, *ALL | ||
DAYS | Days | 0-999, 30 | Optional |
Top |
Specifies the change request name and sequence number to be deleted.
The possible change request name values are:
The possible sequence number values are:
Top |
Specifies the number of days old a change request must be before it is deleted. Change requests that have been ended for the specified number of days or more are deleted. The DAYS parameter is ignored for requests to delete a specific change request.
Top |
Example 1: Deleting All Ended Change Requests
DLTSBMCRQ CRQ(*ALL) DAYS(0)
This command shows how to delete all ended change requests.
Example 2: Deleting a Submitted Change Request
DLTSBMCRQ CRQ(CHG4444 123)
This command shows how to delete the submitted change request CHG4444 with a sequence number of 123.
Example 3: Deleting All Change Requests
DLTSBMCRQ CRQ(CHG* 1) DAYS(15)
This command shows how to delete all change requests with names starting with CHG and having a sequence number of 1 that are 15 days old or older.
Top |
None
Top |