-
SQL
Hallo,
vielleicht kannst Du damit was anfangen:
If you are creating, moving and deleting document library objects you are bound to accumulate a lot of documents that do not belong to any folder. I refer to them as unassigned documents. These documents belonging to folder *NONE occupy a lot of space on the disk. You can perform the following steps to identify and delete such documents:
Display all unclaimed documents to a physical file:
QRYDOCLIB FLR(*NONE) OUTFILE(QTEMP/DOCPF)
Print a list of all such documents in owner and size order:
STRSQL
SELECT QDLUID, QDLONM, QDLDNM, QDLDSZ, QDLFLR FROM QTEMP/DOCPF ORDER BY QDLUID, QDLDSZ, QDLDNM, QDLFLR, QDLONM
Save all such documents to a save file:
CRTSAVF FILE(QTEMP/SAVDLO)
SAVDLO DLO(*SEARCH) FLR(*NONE) DEV(*SAVF) SRCHTYPE(*DOC)
CRTDATE((000000
010190)) OWNER(*ALL) SAVF(QTEMP/SAVDLO) OUTPUT(*PRINT)
Save the save file to a tape for future retrieval.
Delete the unclaimed documents created by a specific owner by using following command:
DLTDLO DLO(*SEARCH) CRTDATE((000000 010190)) OWNER(owner-name)
USER FEEDBACK TO THIS TIP
I'd use the following command to delete documents found using this tip: DLTDLO DLO(*SYSOBJNAM) SYSOBJNAM('DLO_ObjectName') —Kenneth Graap, Search400.com site expert
Similar Threads
-
By schubdigeige in forum NEWSboard Drucker
Antworten: 4
Letzter Beitrag: 12-10-06, 06:27
-
By mott in forum NEWSboard Programmierung
Antworten: 2
Letzter Beitrag: 09-10-06, 11:28
-
By holgerscherer in forum Archiv NEWSboard Events
Antworten: 0
Letzter Beitrag: 03-08-06, 11:39
-
By Kirsten Steer in forum Archiv NEWSboard Events
Antworten: 0
Letzter Beitrag: 25-04-06, 13:37
-
By linguin in forum IBM i Hauptforum
Antworten: 1
Letzter Beitrag: 02-12-05, 12:59
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks