Updating the Checksum

After altering a purge/archive directives file, you must update the checksum in order to use the file during a purge or archive operation.

To update the checksum

  1. If a checksum does not already exist for the file, add this comment at the top of the purge/archive directives file:

    /* THE CHECKSUM FOR THIS FILE IS: 68B8 */
  2. From a command line, use the -checksum command parameter to update a purge/archive directives file. For example:

    diet -archive -directive gen_case.arc -checksum 123456AA

    In this example, a new checksum will be generated for the gen_case.arc file, and the archive will not be run.

    Note: To use the -checksum parameter, you must have write permission to the file. This permission requirement prevents any unauthorized creation of purge/archive directives files.

See Also

Purge/Archive Directives Files

Generating Purge/Archive Directives Files

Common Purge/Archive Directives Elements

Complete List of Purge/Archive Directives Elements

Recursively Deleting Objects

Example Purge/Archive Directives File

Example Purge/Archive Directives File with Routines

Next

Common Purge/Archive Directives Elements

Updating the Checksum