Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Document List (DLTDOCL) command allows you to delete a document list from the system. All document lists are stored in library QUSRSYS.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DOCL | Document list | Single values: *ALL Other values (up to 300 repetitions): Name |
Required, Positional 1 |
OWNER | Document list owner | Element list | Optional, Positional 2 |
Element 1: User profile | Name, *CURRENT, *ALL |
Top |
Specifies the document lists that are to be deleted from the system.
Top |
Specifies the owner of the document lists that are to be deleted. This parameter is ignored if a list of document list names is specified on the Document list (DOCL) parameter.
Top |
Example 1: Deleting Current User's Document Lists
DLTDOCL DOCL(*ALL) OWNER(*CURRENT)
This command deletes all document lists owned by the current user.
Example 2: Deleting All Users' Document Lists
DLTDOCL DOCL(*ALL) OWNER(*ALL)
This command deletes all document lists owned by all users.
Example 3: Deleting Document Lists Owned By a Specified User
DLTDOCL DOCL(*ALL) OWNER(ANN)
This command deletes all document lists owned by ANN.
Example 4: Deleting a Specific Document List Owned By User
DLTDOCL DOCL(AN8T475237)
This command deletes document list AN8T475237, owned by the user running this command. Displaying the user's owned objects will show the system object name for a specific document list.
Top |
*ESCAPE Messages
Top |