CL Command Reference - CHGOBJD
CL Command List > CHGOBJD Reference
Description:
The Change Object Description (CHGOBJD) command can change the text description of an object or reset the days used count to 0 (zero) for the specified objects.
If the object being changed is currently journaled, an entry is written to the journal recording the change.
Restrictions:
1. For file objects, you must have object operational (*OBJOPR) and object management (*OBJMGT) authorities for the object to be changed.
2. For non-file objects, you must have object management (*OBJMGT) authority for the object to be changed.
3. You must have execute (*EXECUTE) authority for the library where the object is located.
Note: If you do not specify at least one of the Text ¡¯description¡¯ (TEXT) or Days used count (USECOUNT) parameters, completion message CPC2105 is sent to indicate that the object was not changed.
Examples:
CHGOBJD OBJ(LIB1/DA1) OBJTYPE(*DTAARA)
TEXT(¡¯NEW TEXT FOR DA1¡¯)
This command changes the text description of the data area named DA1 located in the library LIB1 to the value specified by the TEXT parameter.