The AUPDPFKEY command

The AUPDPFKEY command allows you to generate the primary keys in the ARCAD Repository automatically. You can generate keys for one file, for all application files, or for all files in a list.

Primary keys come from the files with these characteristics:

  • A unique key on the physical file.
  • A unique key on one of the non-joined logical files built over this physical file.
  • A non-unique key specified on the physical file.
  • A non-unique key specified on one of the non-joined logical files built over this physical file.
Note

The logical files are analyzed in alphabetical order, and numbers are processed before letters (files named XXXXL1 and XXXXL2 processed before XXXXLA and XXXXLB).

The parameters available in the AUPDPFKEY command are described below.

If a parameter has a default value, it is indicated in bold.

Summary of the AUPDPFKEY options
Options Values
File(s) (FILE) *ALL,*LST, *VERS
Application ID (APPID) *CURENV
Version level (VERSLVL) *LASTPRD, *CURENV
List (LIST) *CURENV, *LIBL, *CURLIB, Library name