EPURE

Description

This action is called before the purging of each record in the principal table. Following this action, the record in the principal table as well as the records in the linked tables will be deleted from the current folder or the archive folder.

Template

Archiving / Purging

Use

It is used to carryout the controls before the purging of a record. The purging of the record in the principal table as well as all the associated records in the associated tables is avoided by setting [L]OKEPU.

It is used to update the tables that are not listed in the dictionary for this purging. In this case, it is necessary to verify if the launch is made by simulation using the variable [L]SIMUL.

There is the possibility to request a detailed log using the flag [L]TRACEDET. In this case, a message will display the key for each processed record (principal and linked tables).