Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Reorganize Document Library Object (RGZDLO) command allows you to reorganize:
When a document is reorganized, unused storage is removed.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DLO | Document library object | Character value, *ALL, *SYSOBJNAM | Required, Positional 1 |
FLR | Folder | Character value, *NONE, *ANY | Optional, Positional 2 |
SYSOBJNAM | System object name | Name | Optional |
DAYS | Days since last referenced | 0-999, 0 | Optional |
Reorganize unfiled mail | *NO, *YES, *ONLY | Optional |
Top |
Specifies the name of the object being reorganized.
This is a required parameter.
Top |
Specifies the folder that contains the documents or folders. If the documents or folders do not exist in a folder, *NONE is specified.
Top |
Specifies the system object name of an individual folder or document being reorganized.
Top |
Specifies the number of days that must have elapsed since a document library object was last referred to before it can be reorganized.
Top |
Specifies whether objects to be reorganized should include, omit, or be limited to unfiled mail documents.
Top |
Example 1: Reorganizing Folders and Documents
RGZDLO DLO(*ALL) FLR(*ANY)
This command reorganizes all filed folders and documents that exist on the system.
Example 2: Reorganizing Folders, Documents, and Unfiled Mail
RGZDLO DLO(*ALL) FLR(*ANY) MAIL(*YES)
This command reorganizes all filed folders, documents, and all unfiled mail documents that exist on the system.
Example 3: Reorganizing Unfiled Mail Documents
RGZDLO DLO(*ALL) FLR(*ANY) MAIL(*ONLY)
This command reorganizes all unfiled mail documents that exist on the system.
Example 4: Reorganizing Folderless Documents
RGZDLO DLO(*ALL) FLR(*NONE)
This command reorganizes all folderless documents that exist on the system.
Example 5: Reorganizing Documents Within Folders Within Folders
RGZDLO DLO(*ALL) FLR(FLRA)
This command reorganizes all documents within folders contained in folder FLRA, then the folders within folder FLRA are reorganized.
Example 6: Reorganizing an Individual Document or Folder
RGZDLO DLO(*SYSOBJNAM) SYSOBJNAM(DCN1371951)
This command reorganizes the individual document or folder identified by the SYSOBJNAM object.
Example 7: Reorganizing a Document
RGZDLO DLO(DOC1) FLR(FLRA)
This command reorganizes the document named DOC1 in folder FLRA.
Example 8: Reorganizing Documents Not Referenced
RGZDLO DLO(*ALL) FLR(*ANY) DAYS(30)
This command reorganizes all filed documents and folders that have not been referenced in the past 30 days.
Top |
*ESCAPE Messages
Top |