Usage > History/purge 

This function allows to launch manually the process of archiving and the purge.

It is advised to launch it as often as possible outside of operation and in simulation, so as to anticipate the possible response times.

The archiving is a functionality allowing « to tip over » the processed flow of a folder towards another folder called Archived folder. Thus the processed data are archived for a time necessary for the consultation without penalizing the current operation.

The purge is a functionality of deleting the data of either of the archived folder or of the operation folder.

For that, the Purge setting-up function (APARHIS) allows to indicate for each purge code which functionality table is launched.

Screen management

Key in the code to be launched and validated.

Entry screen

Presentation

The archiving and/or purge code are available on the selection window. They were previously set-up on the History/Purge (GESAHI) function.

The transaction can be launched in Simulation or in real.

It is possible to launch either in historisation, or in purge or the 2 process at the same time.

A setting-up associated to the links between the records allows not to archive/purge the data whose other links were not archived or purged.   

Example : a wave is archived when all the PO of the wave were archived.

Close

 

Fields

The following fields are present on this tab :

Block number 1

Name of the archiving/purging code

Block number 2

  • Initialize the links (field RESHLK)

No help linked to this field.

  • Archive (field HIS)

Specifies if, upon lauching, the archiving must be started (transfer to the archiving file of the data of the selected flow).

  • Purge (field EPU)

Specifies if, upon lauching , the purge must be started (purge of the data of the selected flow).

Block number 3

  • Simulation (field SIM)

Used to move from the actual mode (by default) to the simulation mode, where all the data are deleted further to the processing.

Detailed log file

  • Archived/purged records (field REC)

Stipulates if the displayed log file must include the detail of the historized/purged flows.

  • Link between records (field LIK)

No help linked to this field.

Close

 

Batch task

This function can be run in batch mode. The standard task PURGE is provided for that purpose.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation