Clear_Main_File performs a clear on the Data Dictionaries main file. Normally, you will first want to forward-send this message and then perform any type of augmentation.
If you are using this event to clear an additional table, you must tell the Data Dictionary about this by sending the message Request_Clear_File:
Procedure Clear_Main_File
Forward Send Clear_Main_File
Clear AuxFile
Send Request_Clear_File AuxFile.File_Number
End_Procedure
When accessing table values you should always access the global file buffers and not the DDO buffers (i.e., use “Move File.Field to var” syntax). See Understanding File Buffers and DDO Field Buffers for more information.
Defining Data Dictionary Events