CL Command Reference - CHGDOCD
CL Command List > CHGDOCD Reference
Description:
The Change Document Description (CHGDOCD) command allows you to change the information describing a document that was filed previously.
Restrictions:
. To change the document profile values, you must have at least change (*CHANGE) authority to the document, all object (*ALLOBJ) special authority, or be working on behalf of a user who is authorized to the document.
. To change the security values (for example, ACC, USRAUT, PERSONAL, AUTL), the checkout flag, and the allow replacement flag, you must be the owner of the document, have all (*ALL) authority to the object, or *ALLOBJ special authority, or be working on behalf of a user who is authorized to the document.
. Authority to work on behalf of others is granted with the Grant User Permission (GRTUSRPMN) command.
Examples:
CHGDOCD DOC(DOC1) FLR(FLR1) SENSITIV(*PRIVATE)
AUTL(USERAUTL) ALWRPL(*NO) AUTHOR(¡¯AUTHOR1¡¯ *RMV)
This command changes document DOC1, which is located in folder FLR1, to a private document. This document is no longer a document that can be replaced. AUTHOR1 is removed from the list of authors. If an authorization list already exists, it is replaced with authorization list USERAUTL. If an authorization list does not exist, USERAUTL is added as the authorization list for the document. The remaining information associated with the document does not change.