Rename Document Library Object (RNMDLO)

The Rename Document Library Object (RNMDLO) command changes the name of a document or folder. You will not be able to change the name if the document or folder is in use.

Restrictions:

Parameters

Keyword Description Choices Notes
DLO Document library object Character value Required, Positional 1
NEWDLO New document library object Character value Required, Positional 2
FLR In folder Character value, *NONE Optional, Positional 3

Document library object (DLO)

Specifies the name of the document or folder that is being renamed.

This is a required parameter.

New document library object (NEWDLO)

Specifies the new name for the document or folder.

This is a required parameter.

In folder (FLR)

Specifies the name of the folder that contains the document or folder being renamed.

*NONE
The folder being renamed is a first-level folder. *NONE cannot be specified if the object being renamed is a document.
name
Specify the name of the folder that contains the document or folder being renamed.

Examples

RNMDLO   DLO(A)  NEWDLO(B)  FLR(FLR1)

This command changes the name of document or folder A located in folder FLR1, to B.

Error messages

*ESCAPE Messages

CPF8A14
&2 of type &4 not renamed to &3 in folder &1.