CL Command Reference - CHGDLOAUD
CL Command List > CHGDLOAUD Reference
Description:
The Change Document Library Object Audit (CHGDLOAUD) command allows a user with audit (*AUDIT) special authority to change the auditing level of a document library object (DLO) or group of DLOs.
Notes:
1. Only the document library objects that exist when the command begins processing are changed. Objects created while the command is running might not be included in the change.
2. When changing objects in a folder (including the *ROOT level folder), the auditing level of the folder is changed first so any subsequent objects created into the folder inherit the containing folderĄ¯s auditing level.
3. The *ROOT level folder is changed first when changing all objects on the system.
4. The default auditing level for newly created documents not contained in any folder is the value found in the QCRTOBJAUD system value. This system value should be changed to the desired auditing level prior to running the CHGDLOAUD command for documents not contained in any folder in order to ensure that all newly created documents not contained in any folder will inherit the proper auditing level.
Examples:
Example 1: Changing an Auditing Level
CHGDLOAUD DLO(MYDOC) FLR(MYFLR) AUDDLO(*ALL)
This command changes the auditing level of document MYDOC in folder MYFLR so all change or read access to this DLO is logged in the security journal.
Example 2: Changing a System Object Name Auditing Level
CHGDLOAUD DLO(*SYSOBJNAM) SYSOBJNAM(FMCM210974)
AUDDLO(*ALL)
This command changes the auditing level of a document with the system object name FMCM210974 so all change or read access to this DLO is logged in the security journal.
Example 3: Changing the Auditing Level of All DLOs
CHGDLOAUD DLO(*ALL) FLR(*ANY) AUDDLO(*ALL)
This command changes the auditing level of all the DLOs so all change or read access to the DLOs is logged in the security journal.