Enabling database change logging
- Create a directives file with the following content:
           
D SourceDataAreaF FileName LogChanges=N|Y|U|Awhere the following parameters apply.
This parameter Indicates SourceDataAreaThe data area that you want to log changes for. FileNameThe file in SourceDataAreathat you want to log changes for.LogChanges=N(No logging)— or —
LogChanges=Y(Per file logging)— or —
LogChanges=U(Upgrade logging)— or —
LogChanges=A(Both Resource Management and Upgrade logging)Logging is disabled when
Nis entered for the LogChanges parameter.Logging is enabled when
Y, U, orAis entered for the LogChanges parameter.- 
                  
Yindicates that logging triggers are activated for the file in question. It is written to the file RMLOG (defined under the LA system code). - 
                  
Uindicates that logging triggers are activated for the file in question. It is written to the UGZLOG file, defined under the UG system code. - 
                  
Aindicates that logging triggers are activated for the file in question. It is written to the RMLOG and UGZLOG files. 
 - 
                  
 - Run the editda utility. Type:
           
editda -c SourceDataArea DirectivesFile - Rebuild the dictionary. Type:
           
blddbdict -p SourceDataArea - Reorganize the database. Type:
           
dbreorg -p SourceDataArea