Process an archive request

An archive request is run in several steps. The steps differ slightly if you schedule the process to run later, rather than run the process immediately.

The steps are described in the following paragraphs.

Validate the access definition

Specifications in the access definition are validated before the process begins. If the access definition is valid, processing continues. If invalid, processing proceeds as follows:

Locate and prompt for archive directory entry

Any archive directory entry associated with the archive file name is located. If a directory entry does not exist, it is created at the successful conclusion of the process. If the directory entry does exist, processing proceeds as follows:

Locate the archive file

The archive file is located, if it exists. If the file does not exist, it is created. If the file does exist, processing proceeds as follows:

Locate the archive index file

The archive index file is located, if it exists. If the file does not exist and index parameters are specified in the access definition, it is created. If the file does exist and index parameters are specified in the access definition, processing proceeds as follows:

Validate variables

If variables are defined in the access definition, they are verified to ensure that valid values are provided for each variable.

Validate point and shoot

If a point and shoot list is specified, it is verified to ensure that the rows are valid.

Archive data

Data for each table specified in the access definition is copied to the archive file.

Delete data

The delete after archive process is completed according to your specifications for each table listed in the access definition. If the Defer Delete after Archive option is selected, data is not deleted. If Review Archive Delete List is selected, the Delete After Archive Specifications dialog is displayed.

Delete After Archive Specifications dialog

Use the Delete After Archive Specifications dialog to verify or override delete specifications in the access definition. Select a check box to delete archived rows in the corresponding table. To select or clear all check boxes at once, click Tools > Set All or use the toolbar buttons or the shortcut menu.

Delete After Archive Specifications dialog

Cascading Delete/Update Confirmation dialog

A cascading delete/update check occurs during processing and the Cascading Delete/Update Confirmation dialog displayed if the following conditions are true:

Click OK to continue processing, or Cancel to stop processing and return to the Archive Request Editor.

Archive process report

An archive process report is generated.



Feedback