CL Command Reference - RCLDLO

CL Command List > RCLDLO Reference

Description:

The Reclaim Document Library Object (RCLDLO) command allows you to reclaim:
. a document
. a folder
. a folder and all documents and folders directly or indirectly contained within it
. internal Document Library system objects.
. internal Document Library system objects, unfiled distribution documents, and all filed folders and documents on the system. Related document details are synchronized.
. internal document library system objects and all filed folders and documents in one auxiliary storage pool (ASP). Related document details are synchronized.

When using the RCLDLO command to reclaim all document library objects, the objects are synchronized with the search details index and the text search index. The synchronization with the text search index is complete when all the requests to update the text search index generated using the RCLDLO command have been processed.

Restrictions:

. To reclaim internal document library system objects or all Document Library objects, you must have all object (*ALLOBJ) or security administrator (*SECADM) special authority. These objects can be reclaimed only when no folders or documents are in use.

. You must have exclusive use of the document or folder while it is being reclaimed. You do not need authority to a document or folder to reclaim it. You also do not need to be enrolled in the System Distribution Directory.

. While using this command, you may encounter an error message indicating that internal objects are locked. Another user may be using Document Library functions, which prevents the RCLDLO command from running. Retry this command after other Document Library activity has ended.



Examples:

Example 1: Reclaiming a Folder

RCLDLO DLO(FLR1)

This command reclaims folder FLR1.



Example 2: Reclaiming a Document Within a Folder

RCLDLO DLO(A) FLR(FLR2)

This command reclaims folder or document A in folder FLR2.



Example 3: Reclaiming a Folder and All Documents and Folders Within It

RCLDLO DLO(*FLR) FLR(FLR3)

This command reclaims folder FLR3 and all folders and documents directly or indirectly contained within it.



Example 4: Reclaiming an Internal Document

RCLDLO DLO(*SYSOBJNAM) SYSOBJNAM(AMBT133080) SYSOBJATR(*INTDOC)

This command reclaims the internal document specified by the system object name AMBT133080.



Example 5: Reclaiming a Distribution Document

RCLDLO DLO(*SYSOBJNAM) SYSOBJNAM(AMBT133082) SYSOBJATR(*DST)

This command reclaims the distribution document specified by the system object name AMBT133082.



Example 6: Reclaiming Document Library System Objects

RCLDLO DLO(*INT)

This command reclaims internal document library system objects.



Example 7: Reclaiming Document Library System Objects and Document Details

RCLDLO DLO(*DOCDTL)

This command reclaims internal document library system objects and document details for all folders and documents.



Example 8: Reclaiming Document Library System Objects and All Documents and Folders

RCLDLO DLO(*ALL)

This command reclaims internal document library system objects and all documents and folders and synchronizes their document details.



Example 9: Reclaiming Document Library System Objects and All Documents and Folders in an ASP

RCLDLO DLO(*ALL) ASP(2)

This command reclaims internal document library system objects and all documents and folders residing in ASP 2 and synchronizes their document details.