Developing Subprograms 

Process Flow

ADK requires class-specific subprograms for controlling the communication between the archiving class and the archive. You must provide these subprograms in the archiving class (LxxxxFnn) function group.

ADK needs these subprograms whenever an archiving object method is called by the program.

This subprogram discards the current archiving class key when writing, or all the data if reading the archive.

To avoid data inconsistencies, this subprogram uses PERFORM ON COMMIT to call another subprogram, in which the data is actually deleted from the database according to global internal tables.